Interface AnchorGenerator

All Known Implementing Classes:
NumberAnchorGenerator

public interface AnchorGenerator
Support different anchors
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a custom anchor to the provided Node
  • Method Details

    • nextAnchor

      String nextAnchor(Node node)
      Create a custom anchor to the provided Node
      Parameters:
      node - - the data to anchor
      Returns:
      value to be used in the YAML document