Top Description Methods
org.yaml.snakeyaml.serializer

public Interface AnchorGenerator

Known Direct Implementers
org.yaml.snakeyaml.serializer.NumberAnchorGenerator
Imports
org.yaml.snakeyaml.nodes.Node

Support different anchors

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

value to be used in the YAML document
nextAnchor
(Node
- the data to anchor
node
)

Create a custom anchor to the provided Node

Method Detail

nextAnchorback to summary
public String nextAnchor(Node node)

Create a custom anchor to the provided Node

Parameters
node:Node

- the data to anchor

Returns:String

value to be used in the YAML document