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() |
StreamStartEvent(Optional<Mark> startMark,
Optional<Mark> endMark) |
| Modifier and Type | Method and Description |
|---|---|
Event.ID |
getEventId() |
String |
toString() |
equals, getEndMark, getStartMark, hashCode, isEventCopyright © 2018–2019. All rights reserved.