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()
Get the type (kind) if this Event
|
String |
toString() |
getEndMark, getStartMarkCopyright © 2018–2022. All rights reserved.