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()
YamlNodenodeName in interface YamlNodeYamlNode.UNNAMED_NODE if not availablepublic void setNodeName(String nodeName)
MutableYamlNodesetNodeName in interface MutableYamlNodenodeName - The new name of the nodepublic YamlNode parent()
YamlNodeCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.