Package org.snakeyaml.engine.v2.events
Class StreamEndEvent
java.lang.Object
org.snakeyaml.engine.v2.events.Event
org.snakeyaml.engine.v2.events.StreamEndEvent
Marks the end of a stream that might have contained multiple documents.
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.
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.snakeyaml.engine.v2.events.Event
getEndMark, getStartMark
-
Constructor Details
-
StreamEndEvent
-
StreamEndEvent
public StreamEndEvent()
-
-
Method Details
-
getEventId
Description copied from class:Event
Get the type (kind) if this Event- Specified by:
getEventId
in classEvent
- Returns:
- the ID of this Event
-
toString
-