public interface MutableYamlMapping extends YamlMapping, MutableYamlNode
YamlMapping
UNNAMED_NODE
Modifier and Type | Method and Description |
---|---|
void |
addChild(String name,
YamlNode node)
Adds a new child node to the mapping with the provided name
|
void |
removeChild(String name)
Removes a child with the given name if exists
|
child, childAsMapping, childAsScalar, childAsScalarValue, childAsScalarValue, childAsSequence, childrenPairs
childCount, children
setNodeName
void addChild(String name, YamlNode node)
name
- The name of the new childnode
- The child nodevoid removeChild(String name)
name
- The name of the child to removeCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.