Class CollectionChildNodeIterator
- java.lang.Object
-
- org.apache.commons.jxpath.ri.model.beans.CollectionNodeIterator
-
- org.apache.commons.jxpath.ri.model.beans.CollectionChildNodeIterator
-
- All Implemented Interfaces:
NodeIterator
public class CollectionChildNodeIterator extends CollectionNodeIterator
Combines child node iterators of all elements of a collection into one aggregate child node iterator.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
-
-
Constructor Summary
Constructors Constructor Description CollectionChildNodeIterator(CollectionPointer pointer, NodeTest test, boolean reverse, NodePointer startWith)
Create a new CollectionChildNodeIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodeIterator
getElementNodeIterator(NodePointer elementPointer)
Implemented by subclasses to produce child/attribute node iterators.-
Methods inherited from class org.apache.commons.jxpath.ri.model.beans.CollectionNodeIterator
getNodePointer, getPosition, setPosition
-
-
-
-
Field Detail
-
test
private NodeTest test
-
-
Constructor Detail
-
CollectionChildNodeIterator
public CollectionChildNodeIterator(CollectionPointer pointer, NodeTest test, boolean reverse, NodePointer startWith)
Create a new CollectionChildNodeIterator.- Parameters:
pointer
- CollectionPointertest
- child testreverse
- iteration orderstartWith
- starting pointer
-
-
Method Detail
-
getElementNodeIterator
protected NodeIterator getElementNodeIterator(NodePointer elementPointer)
Description copied from class:CollectionNodeIterator
Implemented by subclasses to produce child/attribute node iterators.- Specified by:
getElementNodeIterator
in classCollectionNodeIterator
- Parameters:
elementPointer
- owning pointer- Returns:
- NodeIterator
-
-