Class NumberAnchorGenerator
java.lang.Object
org.yaml.snakeyaml.serializer.NumberAnchorGenerator
- All Implemented Interfaces:
AnchorGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnextAnchor(Node node) Create a custom anchor to the provided Node
-
Constructor Details
-
NumberAnchorGenerator
public NumberAnchorGenerator(int lastAnchorId)
-
-
Method Details
-
nextAnchor
Description copied from interface:AnchorGeneratorCreate a custom anchor to the provided Node- Specified by:
nextAnchorin interfaceAnchorGenerator- Parameters:
node- - the data to anchor- Returns:
- value to be used in the YAML document
-