public interface ConfigurationNode<P extends ParseContext<P>> extends ArooaConfiguration
ArooaConfiguration.| Modifier and Type | Method and Description |
|---|---|
void |
addNodeListener(ConfigurationNodeListener<P> listener)
Add a listener to listen to configuration changes.
|
void |
addText(java.lang.String text)
Add text to the node.
|
P |
getContext()
Get the associated
ArooaContext for this node. |
int |
indexOf(ConfigurationNode<?> child)
Get the index of a child RuntimeNode.
|
int |
insertChild(ConfigurationNode<P> child)
Insert a child in the parse Tree.
|
void |
removeChild(int index)
Remove a child.
|
void |
removeNodeListener(ConfigurationNodeListener<P> listener)
Remove a listener.
|
void |
setInsertPosition(int insertAt)
Set the position for the next inserted node.
|
parseP getContext()
ArooaContext for this node.void addNodeListener(ConfigurationNodeListener<P> listener)
listener - A listener.void removeNodeListener(ConfigurationNodeListener<P> listener)
listener - A listener.void setInsertPosition(int insertAt)
insertAt - The position.int insertChild(ConfigurationNode<P> child)
child - The child. Must not be null.void removeChild(int index)
index - The index at which to remove the child.void addText(java.lang.String text)
text - Some text.int indexOf(ConfigurationNode<?> child)
child - The child node whose index is to be determined.