| Modifier and Type | Method and Description |
|---|---|
boolean |
checkEvent(Event.ID choice)
Check if the next event is one of the given type.
|
Event |
next()
Returns the next event.
|
Event |
peekEvent()
Return the next event, but do not delete it from the stream.
|
forEachRemaining, hasNext, removeboolean checkEvent(Event.ID choice)
choice - Event ID.true if the next event can be assigned to a variable
of the given type. Returns false if no more events
are available.ParserException - Thrown in case of malformed input.Event peekEvent()
next()ParserException - Thrown in case of malformed input.Event next()
The event will be removed from the stream.
next in interface Iterator<Event>ParserException - Thrown in case of malformed input.Copyright © 2018–2019. All rights reserved.