org.apache.commons.configuration.tree.xpath
class ConfigurationNodeIteratorChildren extends ConfigurationNodeIteratorBase
Since: 1.3
Version: $Id: ConfigurationNodeIteratorChildren.java 439648 2006-09-02 20:42:10Z oheger $
Constructor Summary | |
---|---|
ConfigurationNodeIteratorChildren(NodePointer parent, NodeTest nodeTest, boolean reverse, NodePointer startsWith)
Creates a new instance of ConfigurationNodeIteratorChildren
and initializes it.
|
Method Summary | |
---|---|
protected List | createSubNodeList(ConfigurationNode node, NodeTest test)
Creates the list with sub nodes. |
protected int | findStartIndex(ConfigurationNode node, ConfigurationNode startNode)
Determines the start position of the iteration. |
ConfigurationNodeIteratorChildren
and initializes it.
Parameters: parent the parent pointer nodeTest the test selecting the sub nodes reverse the reverse flag startsWith the first element of the iteration
Parameters: node the current node test the test object
Returns: a list with the matching nodes
Parameters: node the root node startNode the start node
Returns: the start node's index