Class StreamStartEvent

java.lang.Object
org.yaml.snakeyaml.events.Event
org.yaml.snakeyaml.events.StreamStartEvent

public final class StreamStartEvent
extends Event
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.

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.yaml.snakeyaml.events.Event

    Event.ID
  • Constructor Summary

    Constructors 
    Constructor Description
    StreamStartEvent​(Mark startMark, Mark endMark)  
  • Method Summary

    Modifier and Type Method Description
    Event.ID getEventId()
    Get the type (kind) if this Event

    Methods inherited from class org.yaml.snakeyaml.events.Event

    equals, getArguments, getEndMark, getStartMark, hashCode, is, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait