Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.yaml.snakeyaml.events
Class NodeEvent

    java.lang.Object
      org.yaml.snakeyaml.events.Event
          org.yaml.snakeyaml.events.NodeEvent

Direct Known Subclasses:
  AliasEvent, CollectionStartEvent, ScalarEvent

    public abstract class NodeEvent

extends Event

Base class for all events that mark the beginning of a node.

Nested Class Summary

Nested classes/interfaces inherited from class org.yaml.snakeyaml.events.Event
`Event.ID`

Constructor Summary
`NodeEvent(String anchor, Mark startMark, Mark endMark)`

Method Summary
`String` | `getAnchor()` Node anchor by which this node might later be referenced by a `AliasEvent`.
`protected String` | `getArguments()`

Methods inherited from class org.yaml.snakeyaml.events.Event
`equals, getEndMark, getStartMark, is, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### NodeEvent

    public NodeEvent(String anchor,
                     Mark startMark,
                     Mark endMark)

Method Detail

### getAnchor

    public String getAnchor()

  Node anchor by which this node might later be referenced by a `AliasEvent`.

  Note that `AliasEvent`s are by it self `NodeEvent`s and use this property to indicate the referenced anchor.

  Returns:
    Anchor of this node or `null` if no anchor is defined.

### getArguments

    protected String getArguments()

  Overrides:
    `getArguments` in class `Event`
  See Also:
    `for Event in PyYAML`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011. All Rights Reserved.