public abstract class AbstractYamlNode extends Object implements MutableYamlNode
UNNAMED_NODE
Modifier and Type | Method and Description |
---|---|
String |
nodeName()
Returns the name of the node
|
YamlNode |
parent()
Returns the parent of the given node
|
String |
path()
Returns the path of the node from the root of the YAML structure.
|
void |
setNodeName(String nodeName)
Sets the name of the node to the provided one
|
public String nodeName()
YamlNode
nodeName
in interface YamlNode
YamlNode.UNNAMED_NODE
if not availablepublic void setNodeName(String nodeName)
MutableYamlNode
setNodeName
in interface MutableYamlNode
nodeName
- The new name of the nodepublic YamlNode parent()
YamlNode
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.