public class ConfigNode extends ConfigLeaf implements Node, Commentable
| Constructor and Description |
|---|
ConfigNode() |
ConfigNode(java.lang.String name,
java.lang.String comment) |
ConfigNode(java.lang.String name,
java.lang.String comment,
boolean serializeSeparately) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<TreeItem> |
getItems() |
boolean |
isSerializedSeparately()
Returns
true if this node should be serialized separately to its parent. |
getComment, getName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCommentpublic ConfigNode(@Nullable
java.lang.String name,
@Nullable
java.lang.String comment,
boolean serializeSeparately)
public ConfigNode(@Nullable
java.lang.String name,
@Nullable
java.lang.String comment)
public ConfigNode()
@Nonnull public java.util.Set<TreeItem> getItems()
public boolean isSerializedSeparately()
Nodetrue if this node should be serialized separately to its parent.
If a node is serialized separately, it should not appear in the serialized representation of its parent. This setting has no effect if this node is a root.
isSerializedSeparately in interface Nodetrue if this node should be serialized separately, and false otherwise