Package org.snakeyaml.engine.v2.events
Class DocumentEndEvent
- java.lang.Object
-
- org.snakeyaml.engine.v2.events.Event
-
- org.snakeyaml.engine.v2.events.DocumentEndEvent
-
public final class DocumentEndEvent extends Event
Marks the end of a document.This event follows the document's content.
-
-
Constructor Summary
Constructors Constructor Description DocumentEndEvent(boolean explicit)DocumentEndEvent(boolean explicit, Optional<Mark> startMark, Optional<Mark> endMark)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event.IDgetEventId()Get the type (kind) if this EventbooleanisExplicit()StringtoString()-
Methods inherited from class org.snakeyaml.engine.v2.events.Event
getEndMark, getStartMark
-
-
-
-
Method Detail
-
isExplicit
public boolean isExplicit()
-
getEventId
public Event.ID getEventId()
Description copied from class:EventGet the type (kind) if this Event- Specified by:
getEventIdin classEvent- Returns:
- the ID of this Event
-
-