org.yaml.snakeyaml.events
Class StreamEndEvent

java.lang.Object
  extended by org.yaml.snakeyaml.events.Event
      extended by org.yaml.snakeyaml.events.StreamEndEvent

public final class StreamEndEvent
extends Event

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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.yaml.snakeyaml.events.Event
Event.ID
 
Constructor Summary
StreamEndEvent(Mark startMark, Mark endMark)
           
 
Method Summary
 boolean is(Event.ID id)
           
 
Methods inherited from class org.yaml.snakeyaml.events.Event
equals, getArguments, getEndMark, getStartMark, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamEndEvent

public StreamEndEvent(Mark startMark,
                      Mark endMark)
Method Detail

is

public boolean is(Event.ID id)
Specified by:
is in class Event


Copyright © 2008-2010. All Rights Reserved.