Possibly retrieves the next Elem in the XML stream and effectively advancing the underlying InputStream
Possibly retrieves the next Elem in the XML stream and effectively advancing the underlying InputStream
Returns None when reaches the end of the stream
Peeks at the next element
Peeks at the next element
Causes the underlying InputStream to advance by one element
An XML stream parser that iterates over the Elems in the underlying InputStream, so non of the public API is safe.
Implementation similar to an Iterator but with a peek buffer of size 1.