Class NumberAnchorGenerator

    • Constructor Detail

      • NumberAnchorGenerator

        public NumberAnchorGenerator​(int lastAnchorId)
        Create
        Parameters:
        lastAnchorId - - the number to start from
    • Method Detail

      • nextAnchor

        public Anchor nextAnchor​(org.snakeyaml.engine.v2.nodes.Node node)
        Create value increasing the number
        Specified by:
        nextAnchor in interface AnchorGenerator
        Parameters:
        node - - ignored
        Returns:
        value with format 'id001'