|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.parsing.AbstractConfigurationNode
public abstract class AbstractConfigurationNode
Implementation of common ConfigurationNode
functionality.
Nested Class Summary | |
---|---|
protected static class |
AbstractConfigurationNode.ChainingConfigurationHandle
This ConfigurationHandle survives the replacement of this ConfigurationNode which is what happens in order to save changes. |
Constructor Summary | |
---|---|
AbstractConfigurationNode()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.oddjob.arooa.runtime.ConfigurationNode |
---|
addText, getContext |
Methods inherited from interface org.oddjob.arooa.ArooaConfiguration |
---|
parse |
Constructor Detail |
---|
public AbstractConfigurationNode()
Method Detail |
---|
public void addNodeListener(ConfigurationNodeListener listener)
ConfigurationNode
addNodeListener
in interface ConfigurationNode
public void setInsertPosition(int insertAt)
ConfigurationNode
setInsertPosition
in interface ConfigurationNode
insertAt
- The position.public void removeNodeListener(ConfigurationNodeListener listener)
ConfigurationNode
removeNodeListener
in interface ConfigurationNode
public int insertChild(ConfigurationNode child)
ConfigurationNode
insertChild
in interface ConfigurationNode
child
- The child. Must not be null.
public void removeChild(int index)
ConfigurationNode
removeChild
in interface ConfigurationNode
index
- The index at which to remove the child.public int indexOf(ConfigurationNode child)
ConfigurationNode
indexOf
in interface ConfigurationNode
child
- The child node whose index is to be determined.
public ConfigurationNode[] children()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |