|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurationNode
Encapsulates structure and values of a configuration. It must preserve
enough information so that it can also be an ArooaConfiguration
.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.oddjob.arooa.ArooaConfiguration |
---|
parse |
Method Detail |
---|
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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |