public interface EventReader
EventReader interface is used to represent an XML
reader that can be used to read a source document. This provides
a convenient abstraction that can be used by any number of parser
implementations. In essence it is similar to the Streaming API for
XML, however other implementations can easily be adapted.| Modifier and Type | Method and Description |
|---|---|
EventNode |
next()
This is used to take the next node from the document.
|
EventNode |
peek()
This is used to peek at the node from the document.
|
EventNode next() throws java.lang.Exception
java.lang.ExceptionEventNode peek() throws java.lang.Exception
java.lang.Exception