com.hazelcast.org.snakeyaml.engine.v1.events

## Class MappingStartEvent

- java.lang.Object
- - com.hazelcast.org.snakeyaml.engine.v1.events.Event
  - - com.hazelcast.org.snakeyaml.engine.v1.events.NodeEvent
    - - com.hazelcast.org.snakeyaml.engine.v1.events.CollectionStartEvent
      - - com.hazelcast.org.snakeyaml.engine.v1.events.MappingStartEvent

-     public final class MappingStartEvent
      extends CollectionStartEvent

  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`

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.hazelcast.org.snakeyaml.engine.v1.events.Event

      `Event.ID`

  - ### Constructor Summary

    Constructors
    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)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Event.ID` | `getEventId()`
    `String` | `toString()`

    - ### Methods inherited from class com.hazelcast.org.snakeyaml.engine.v1.events.CollectionStartEvent

      `getFlowStyle, getTag, isFlow, isImplicit`

    - ### Methods inherited from class com.hazelcast.org.snakeyaml.engine.v1.events.NodeEvent

      `getAnchor`

    - ### Methods inherited from class com.hazelcast.org.snakeyaml.engine.v1.events.Event

      `equals, getEndMark, getStartMark, hashCode, isEvent`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MappingStartEvent

          public MappingStartEvent(Optional<Anchor> anchor,
                                   Optional<String> tag,
                                   boolean implicit,
                                   FlowStyle flowStyle,
                                   Optional<Mark> startMark,
                                   Optional<Mark> endMark)

    - #### MappingStartEvent

          public MappingStartEvent(Optional<Anchor> anchor,
                                   Optional<String> tag,
                                   boolean implicit,
                                   FlowStyle flowStyle)

  - ### Method Detail

    - #### getEventId

          public Event.ID getEventId()

      Specified by:
        `getEventId` in class `Event`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `CollectionStartEvent`

Copyright © 2019. All rights reserved.