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(String anchor,
                 String tag,
                 boolean implicit,
                 Mark startMark,
                 Mark endMark,
                 Boolean flowStyle)Deprecated.  | 
| MappingStartEvent(String anchor,
                 String tag,
                 boolean implicit,
                 Mark startMark,
                 Mark endMark,
                 DumperOptions.FlowStyle flowStyle) | 
| Modifier and Type | Method and Description | 
|---|---|
| Event.ID | getEventId()Get the type (kind) if this Event | 
getArguments, getFlowStyle, getImplicit, getTag, isFlowequals, getEndMark, getStartMark, hashCode, is, toStringpublic MappingStartEvent(String anchor, String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
public Event.ID getEventId()
EventgetEventId in class EventCopyright © 2008–2021. All rights reserved.