public interface ConfigurationNode extends ArooaConfiguration
ArooaConfiguration
.Modifier and Type | Method and Description |
---|---|
void |
addNodeListener(ConfigurationNodeListener listener)
Add a RuntimeNodeListener.
|
void |
addText(String text)
Add text to the node.
|
ArooaContext |
getContext()
Get the associated
ArooaContext for this node. |
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.
|
parse
ArooaContext getContext()
ArooaContext
for this node.void addNodeListener(ConfigurationNodeListener listener)
listener
- void removeNodeListener(ConfigurationNodeListener listener)
listener
- void setInsertPosition(int insertAt)
insertAt
- The position.int insertChild(ConfigurationNode child)
child
- The child. Must not be null.void removeChild(int index)
index
- The index at which to remove the child.void addText(String text)
text
- int indexOf(ConfigurationNode child)
child
- The child node whose index is to be determined.