Package org.yaml.snakeyaml.events
Class SequenceStartEvent
- java.lang.Object
-
- org.yaml.snakeyaml.events.Event
-
- org.yaml.snakeyaml.events.NodeEvent
-
- org.yaml.snakeyaml.events.CollectionStartEvent
-
- org.yaml.snakeyaml.events.SequenceStartEvent
-
public final class SequenceStartEvent extends CollectionStartEvent
Marks the beginning of a sequence node.This event is followed by the elements contained in the sequence, and a
SequenceEndEvent
.- See Also:
SequenceEndEvent
-
-
Constructor Summary
Constructors Constructor Description SequenceStartEvent(java.lang.String anchor, java.lang.String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event.ID
getEventId()
Get the type (kind) if this Event-
Methods inherited from class org.yaml.snakeyaml.events.CollectionStartEvent
getArguments, getFlowStyle, getImplicit, getTag, isFlow
-
Methods inherited from class org.yaml.snakeyaml.events.Event
equals, getEndMark, getStartMark, hashCode, is, toString
-
-
-
-
Constructor Detail
-
SequenceStartEvent
public SequenceStartEvent(java.lang.String anchor, java.lang.String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
-
-
Method Detail
-
getEventId
public Event.ID getEventId()
Description copied from class:Event
Get the type (kind) if this Event- Specified by:
getEventId
in classEvent
- Returns:
- the ID of this Event
-
-