Top Description Fields Constructors Methods
org.yaml.snakeyaml.nodes

public Class AnchorNode

extends Node
Class Inheritance

This class is only used during representation (dumping)

Field Summary

Modifier and TypeField and Description
private final Node
Inherited from org.yaml.snakeyaml.nodes.Node:
endMarkresolveduseClassConstructor

Constructor Summary

AccessConstructor and Description
public
AnchorNode(Node
- the node which contains the referenced data
realNode
)

Anchor

Method Summary

Modifier and TypeMethod and Description
public NodeId
getNodeId()

Implements abstract org.yaml.snakeyaml.nodes.Node.getNodeId.

For error reporting.
public Node

Returns:

node with data
getRealNode
()

Getter

Inherited from org.yaml.snakeyaml.nodes.Node:
equalsgetAnchorgetBlockCommentsgetEndCommentsgetEndMarkgetInLineCommentsgetStartMarkgetTaggetTypehashCodeisTwoStepsConstructionsetAnchorsetBlockCommentssetEndCommentssetInLineCommentssetTagsetTwoStepsConstructionsetTypesetUseClassConstructoruseClassConstructor

Field Detail

realNodeback to summary
private final Node realNode

Constructor Detail

AnchorNodeback to summary
public AnchorNode(Node realNode)

Anchor

Parameters
realNode:Node

- the node which contains the referenced data

Method Detail

getNodeIdback to summary
public NodeId getNodeId()

Implements abstract org.yaml.snakeyaml.nodes.Node.getNodeId.

Doc from org.yaml.snakeyaml.nodes.Node.getNodeId.

For error reporting.

Returns:NodeId

scalar, sequence, mapping

Annotations
@Override
getRealNodeback to summary
public Node getRealNode()

Getter

Returns:Node

node with data