org.apache.commons.configuration
class HierarchicalConfiguration.DefinedKeysVisitor extends ConfigurationNodeVisitorAdapter
Field Summary | |
---|---|
Set | keyList Stores the list to be filled. |
Stack | parentKeys A stack with the keys of the already processed nodes. |
Constructor Summary | |
---|---|
DefinedKeysVisitor()
Default constructor. | |
DefinedKeysVisitor(String prefix)
Creates a new DefinedKeysVisitor instance and sets the
prefix for the keys to fetch.
|
Method Summary | |
---|---|
Set | getKeyList()
Returns the list with all defined keys.
|
void | visitAfterChildren(ConfigurationNode node)
Visits the node after its children has been processed. |
void | visitBeforeChildren(ConfigurationNode node)
Visits the specified node. |
DefinedKeysVisitor
instance and sets the
prefix for the keys to fetch.
Parameters: prefix the prefix
Returns: the list with the defined keys
Parameters: node the node
Parameters: node the node to be visited