public final class StreamStartEvent extends Event
This event is the first event that a parser emits. Together with
StreamEndEvent
(which is the last event a parser emits) they mark the
beginning and the end of a stream of documents.
See Event
for an exemplary output.
Constructor and Description |
---|
StreamStartEvent(Mark startMark,
Mark endMark) |
Modifier and Type | Method and Description |
---|---|
boolean |
is(Event.ID id) |
equals, getEndMark, getStartMark, hashCode, toString