public final class StreamEndEvent extends Event
This event is the last event that a parser emits. Together with StreamStartEvent (which
is the first 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 |
|---|
StreamEndEvent() |
StreamEndEvent(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.