Top Description Constructors Methods
org.yaml.snakeyaml.events

public final Class StreamStartEvent

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

Marks the start of a stream that might contain multiple documents.

This event is the first event that a parser emits. Together with StreamEndEvent (which is the last 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
StreamStartEvent(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

StreamStartEventback to summary
public StreamStartEvent(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