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, isFlow
equals, getEndMark, getStartMark, hashCode, is, toString
public MappingStartEvent(String anchor, String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
public Event.ID getEventId()
Event
getEventId
in class Event
Copyright © 2008–2020. All rights reserved.