public final class MappingStartEvent extends CollectionStartEvent
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.
MappingEndEvent| Constructor and Description |
|---|
MappingStartEvent(Optional<Anchor> anchor,
Optional<String> tag,
boolean implicit,
FlowStyle flowStyle) |
MappingStartEvent(Optional<Anchor> anchor,
Optional<String> tag,
boolean implicit,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
| Modifier and Type | Method and Description |
|---|---|
Event.ID |
getEventId() |
String |
toString() |
getFlowStyle, getTag, isFlow, isImplicitequals, getEndMark, getStartMark, hashCode, isEventpublic MappingStartEvent(Optional<Anchor> anchor, Optional<String> tag, boolean implicit, FlowStyle flowStyle, Optional<Mark> startMark, Optional<Mark> endMark)
public Event.ID getEventId()
getEventId in class Eventpublic String toString()
toString in class CollectionStartEventCopyright © 2018–2019. All rights reserved.