Top Description Fields Constructors Methods
org.yaml.snakeyaml.events

public final Class DocumentEndEvent

extends Event
Class Inheritance
Imports
org.yaml.snakeyaml.error.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(Mark
- start
startMark
,
Mark
- end
endMark
,
boolean
- true when it is present in the document, false for implicitly added
explicit
)

Create

Method Summary

Modifier and TypeMethod and Description
public Event.ID

Returns:

its identity
getEventId
()

Implements abstract org.yaml.snakeyaml.events.Event.getEventId.

getter
public boolean

Returns:

true when document end is present in the document
getExplicit
()

getter

Inherited from org.yaml.snakeyaml.events.Event:
equalsgetArgumentsgetEndMarkgetStartMarkhashCodeistoString

Field Detail

explicitback to summary
private final boolean explicit

Constructor Detail

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

Create

Parameters
startMark:Mark

- start

endMark:Mark

- end

explicit:boolean

- true when it is present in the document, false for implicitly added

Method Detail

getEventIdback to summary
public Event.ID getEventId()

Implements abstract org.yaml.snakeyaml.events.Event.getEventId.

getter

Returns:Event.ID

its identity

Annotations
@Override
getExplicitback to summary
public boolean getExplicit()

getter

Returns:boolean

true when document end is present in the document