Package org.snakeyaml.engine.v2.events
Class MappingStartEvent
java.lang.Object
org.snakeyaml.engine.v2.events.Event
org.snakeyaml.engine.v2.events.NodeEvent
org.snakeyaml.engine.v2.events.CollectionStartEvent
org.snakeyaml.engine.v2.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
Constructors -
Method Summary
Methods inherited from class org.snakeyaml.engine.v2.events.CollectionStartEvent
getFlowStyle, getTag, isFlow, isImplicit
Methods inherited from class org.snakeyaml.engine.v2.events.Event
getEndMark, getStartMark
-
Constructor Details
-
MappingStartEvent
-
MappingStartEvent
-
-
Method Details
-
getEventId
Description copied from class:Event
Get the type (kind) if this Event- Specified by:
getEventId
in classEvent
- Returns:
- the ID of this Event
-
toString
- Overrides:
toString
in classCollectionStartEvent
-