Top Description Constructors Methods
org.yaml.snakeyaml.events

public final Class MappingStartEvent

extends CollectionStartEvent
Class Inheritance
Imports
org.yaml.snakeyaml.DumperOptions, org.yaml.snakeyaml.error.Mark

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
MappingEndEvent

Constructor Summary

AccessConstructor and Description
public
MappingStartEvent(String anchor, String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)

Method Summary

Modifier and TypeMethod and Description
public Event.ID

Returns:

its identity
getEventId
()

Implements abstract org.yaml.snakeyaml.events.Event.getEventId.

getter
Inherited from org.yaml.snakeyaml.events.CollectionStartEvent:
getArgumentsgetFlowStylegetImplicitgetTagisFlow

Constructor Detail

MappingStartEventback to summary
public MappingStartEvent(String anchor, String tag, boolean implicit, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)

Method Detail

getEventIdback to summary
public Event.ID getEventId()

Implements abstract org.yaml.snakeyaml.events.Event.getEventId.

getter

Returns:Event.ID

its identity

Annotations
@Override