Class MappingStartEvent
java.lang.Object
org.yaml.snakeyaml.events.Event
org.yaml.snakeyaml.events.NodeEvent
org.yaml.snakeyaml.events.CollectionStartEvent
org.yaml.snakeyaml.events.MappingStartEvent
Marks the beginning of a mapping node.
This event is followed by a number of key value pairs.
The pairs are not in any particular order. However, the value always directly follows the
corresponding key.
After the key value pairs follows a MappingEndEvent.
There must be an even number of node events between the start and end event.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionMappingStartEvent(String anchor, String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle) -
Method Summary
Methods inherited from class CollectionStartEvent
getArguments, getFlowStyle, getImplicit, getTag, isFlowMethods inherited from class Event
equals, getEndMark, getStartMark, hashCode, is, toString
-
Constructor Details
-
MappingStartEvent
public MappingStartEvent(String anchor, String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
-
-
Method Details
-
getEventId
-