Class AnchorNode

java.lang.Object
org.snakeyaml.engine.v2.nodes.Node
org.snakeyaml.engine.v2.nodes.AnchorNode

public class AnchorNode extends Node
This class is only used during representation (dumping)
  • Field Details

    • realNode

      private final Node realNode
  • Constructor Details

    • AnchorNode

      public AnchorNode(Node realNode)
      Create
      Parameters:
      realNode - - the source node
  • Method Details

    • getNodeType

      public NodeType getNodeType()
      Specified by:
      getNodeType in class Node
      Returns:
      scalar, sequence, mapping
    • getRealNode

      public Node getRealNode()
      getter
      Returns:
      the origin