public class ConfigNode extends ConfigurationNode
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
attributes, children, readOnly, type, value
Constructor and Description |
---|
ConfigNode(ConfigurationNode source)
Copy constructor.
|
ConfigNode(String type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ConfigurationNode |
createNewNode()
Create a new node of this same type and class.
|
protected ConfigurationNode |
createNewNode(ConfigurationNode source)
Make a new node that is a copy of the specified node.
|
ConfigNode |
duplicate(boolean readOnly)
Duplicate.
|
ConfigNode |
getChild(int index)
Get child n.
|
addChild, clearChildren, cloneAttributes, createDuplicate, equals, findChild, getAttributeCount, getAttributes, getAttributeValue, getChildCount, getType, getValue, hashCode, makeReadOnly, removeChild, setAttribute, setValue, toString
public static final String _rcsid
public ConfigNode(String type)
public ConfigNode(ConfigurationNode source)
protected ConfigurationNode createNewNode()
createNewNode
in class ConfigurationNode
protected ConfigurationNode createNewNode(ConfigurationNode source)
createNewNode
in class ConfigurationNode
public ConfigNode duplicate(boolean readOnly)
public ConfigNode getChild(int index)
index
- is the child number.