public abstract class ConfigNodeImpl extends java.lang.Object implements ConfigNode, Commentable
ConfigNode,
ConfigBranchImpl,
ConfigLeafImpl| Constructor and Description |
|---|
ConfigNodeImpl(java.lang.String name,
java.lang.String comment)
Creates a new
ConfigLeaf. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment()
Returns the comment that was assigned to this class
|
java.lang.String |
getName()
Returns this node's name.
|
java.lang.String |
toString() |
public ConfigNodeImpl(@Nonnull
java.lang.String name,
@Nullable
java.lang.String comment)
ConfigLeaf.name - the name for this leafcomment - the comment for this leaf@Nonnull public java.lang.String getName()
ConfigNodegetName in interface ConfigNode@Nullable public java.lang.String getComment()
CommentablegetComment in interface Commentablepublic java.lang.String toString()
toString in class java.lang.Object