The stream reader must be positioned at the start of the document or the start of an element.
If the stream is positioned at the start of the document then the whole document is stored and after storing the stream will be positioned at the end of the document.
If the stream is positioned at the start of an element then the element and all its children will be stored and after storing the stream will be positioned at the next event after the end of the element.
@return the mutable stream buffer. @throws XMLStreamException if the stream reader is not positioned atthe start of the document or at an element.
|
|
|
|
|
|
|
|