public abstract class AbstractConfigurationNode extends Object implements ConfigurationNode
ConfigurationNode functionality.| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractConfigurationNode.ChainingConfigurationHandle
This ConfigurationHandle survives the replacement of this
ConfigurationNode which is what happens in order to save changes.
|
| Constructor and Description |
|---|
AbstractConfigurationNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeListener(ConfigurationNodeListener listener)
Add a RuntimeNodeListener.
|
ConfigurationNode[] |
children() |
int |
indexOf(ConfigurationNode child)
Get the index of a child RuntimeNode.
|
int |
insertChild(ConfigurationNode child)
Insert a child in the parse Tree.
|
void |
removeChild(int index)
Remove a child.
|
void |
removeNodeListener(ConfigurationNodeListener listener)
Remove a RuntimeNodeListener.
|
void |
setInsertPosition(int insertAt)
Set the position for the next inserted node.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddText, getContextparsepublic void addNodeListener(ConfigurationNodeListener listener)
ConfigurationNodeaddNodeListener in interface ConfigurationNodepublic void setInsertPosition(int insertAt)
ConfigurationNodesetInsertPosition in interface ConfigurationNodeinsertAt - The position.public void removeNodeListener(ConfigurationNodeListener listener)
ConfigurationNoderemoveNodeListener in interface ConfigurationNodepublic int insertChild(ConfigurationNode child)
ConfigurationNodeinsertChild in interface ConfigurationNodechild - The child. Must not be null.public void removeChild(int index)
ConfigurationNoderemoveChild in interface ConfigurationNodeindex - The index at which to remove the child.public int indexOf(ConfigurationNode child)
ConfigurationNodeindexOf in interface ConfigurationNodechild - The child node whose index is to be determined.public ConfigurationNode[] children()