@Override
	public XmlElement peek() {
		if (hasNext()) {
			return nextElement;
		}
		return null;
	}
Returns the next element to be read, but does not increment the iterator.

@return the next element to be read, but does not increment the iterator
Ghidra/Framework/Generic/src/main/java/ghidra/xml/ThreadedXmlPullParserImpl.java