Top Description Fields Constructors Methods
org.snakeyaml.engine.v2.events

public final Class DocumentEndEvent

extends Event
Class Inheritance
Imports
java.util.Optional, org.snakeyaml.engine.v2.exceptions.Mark

Marks the end of a document.

This event follows the document's content.

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
public
DocumentEndEvent(boolean explicit, Optional<Mark> startMark, Optional<Mark> endMark)

public
DocumentEndEvent(boolean explicit)

Method Summary

Modifier and TypeMethod and Description
public Event.ID
getEventId()

Implements abstract org.snakeyaml.engine.v2.events.Event.getEventId.

Get the type (kind) if this Event

public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.snakeyaml.engine.v2.events.Event:
getEndMarkgetStartMark

Field Detail

explicitback to summary
private final boolean explicit

Constructor Detail

DocumentEndEventback to summary
public DocumentEndEvent(boolean explicit, Optional<Mark> startMark, Optional<Mark> endMark)
DocumentEndEventback to summary
public DocumentEndEvent(boolean explicit)

Method Detail

getEventIdback to summary
public Event.ID getEventId()

Implements abstract org.snakeyaml.engine.v2.events.Event.getEventId.

Doc from org.snakeyaml.engine.v2.events.Event.getEventId.

Get the type (kind) if this Event

Annotations
@Override
isExplicitback to summary
public boolean isExplicit()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override