Top Description Constructors Methods
org.yaml.snakeyaml.events

public final Class StreamEndEvent

extends Event
Class Inheritance
Imports
org.yaml.snakeyaml.error.Mark

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.

Constructor Summary

AccessConstructor and Description
public
StreamEndEvent(Mark startMark, Mark endMark)

Method Summary

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

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

Get the type (kind) if this Event
Inherited from org.yaml.snakeyaml.events.Event:
equalsgetArgumentsgetEndMarkgetStartMarkhashCodeistoString

Constructor Detail

StreamEndEventback to summary
public StreamEndEvent(Mark startMark, Mark endMark)

Method Detail

getEventIdback to summary
public Event.ID getEventId()

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

Doc from org.yaml.snakeyaml.events.Event.getEventId.

Get the type (kind) if this Event

Returns:Event.ID

the ID of this Event

Annotations
@Override