Class NumberAnchorGenerator

    • Constructor Detail

      • NumberAnchorGenerator

        public NumberAnchorGenerator​(int lastAnchorId)
    • Method Detail

      • nextAnchor

        public String nextAnchor​(Node node)
        Description copied from interface: AnchorGenerator
        Create a custom anchor to the provided Node
        Specified by:
        nextAnchor in interface AnchorGenerator
        Parameters:
        node - - the data to anchor
        Returns:
        value to be used in the YAML document