Package org.yaml.snakeyaml.events
Class DocumentEndEvent
- java.lang.Object
-
- org.yaml.snakeyaml.events.Event
-
- org.yaml.snakeyaml.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(Mark startMark, Mark endMark, boolean explicit)
Create
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event.ID
getEventId()
getterboolean
getExplicit()
getter-
Methods inherited from class org.yaml.snakeyaml.events.Event
equals, getArguments, getEndMark, getStartMark, hashCode, is, toString
-
-
-
-
Method Detail
-
getExplicit
public boolean getExplicit()
getter- Returns:
- true when document end is present in the document
-
getEventId
public Event.ID getEventId()
getter- Specified by:
getEventId
in classEvent
- Returns:
- its identity
-
-