Class AnchorNode


  • public class AnchorNode
    extends Node
    This class is only used during representation (dumping)
    • Constructor Detail

      • AnchorNode

        public AnchorNode​(Node realNode)
        Anchor
        Parameters:
        realNode - - the node which contains the referenced data
    • Method Detail

      • getNodeId

        public NodeId getNodeId()
        Description copied from class: Node
        For error reporting.
        Specified by:
        getNodeId in class Node
        Returns:
        scalar, sequence, mapping
        See Also:
        "class variable 'id' in PyYAML"
      • getRealNode

        public Node getRealNode()
        Getter
        Returns:
        node with data