public interface SnakeYamlNodeContainer
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.yaml.snakeyaml.nodes.Node |
convertToNode(@NotNull SnakeYamlNodeBuilder nodeBuilder)
Converts this container and its sub-containers, recursively, to a SnakeYAML node that represents
all SnakeYAML nodes held by the containers.
|
@NotNull SnakeYamlNodeContainer |
getOrCreateChildContainer(String name,
Supplier<List<String>> commentsSupplier)
Returns the existing container for the given name, or creates one and registers the comments as returned by the
supplier.
|
@NotNull org.yaml.snakeyaml.nodes.Node |
getRootValueNode()
Returns the SnakeYAML node at the root path (empty string).
|
void |
putNode(@NotNull String name,
@NotNull org.yaml.snakeyaml.nodes.Node node)
Saves the given node under the given name (= path element).
|
@NotNull @NotNull SnakeYamlNodeContainer getOrCreateChildContainer(String name, Supplier<List<String>> commentsSupplier)
name - the path name to getcommentsSupplier - supplier with comments to set if the container has to be created@NotNull @NotNull org.yaml.snakeyaml.nodes.Node getRootValueNode()
void putNode(@NotNull
@NotNull String name,
@NotNull
@NotNull org.yaml.snakeyaml.nodes.Node node)
name - the name to save the value undernode - the node to save@NotNull
@NotNull org.yaml.snakeyaml.nodes.Node convertToNode(@NotNull
@NotNull SnakeYamlNodeBuilder nodeBuilder)
nodeBuilder - node builder to create nodes withCopyright © 2016–2023 The AuthMe Team. All rights reserved.