Package org.yaml.snakeyaml.serializer
Interface AnchorGenerator
-
- All Known Implementing Classes:
NumberAnchorGenerator
public interface AnchorGenerator
Support different anchors
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
nextAnchor(Node node)
Create a custom anchor to the provided Node
-
-
-
Method Detail
-
nextAnchor
java.lang.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
-
-