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
Combines child node iterators of all elements of a collection into one aggregate child node iterator.
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionChildNodeIterator
(CollectionPointer pointer, NodeTest test, boolean reverse, NodePointer startWith) Constructs a new CollectionChildNodeIterator. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
CollectionChildNodeIterator
public CollectionChildNodeIterator(CollectionPointer pointer, NodeTest test, boolean reverse, NodePointer startWith) Constructs a new CollectionChildNodeIterator.- Parameters:
pointer
- CollectionPointertest
- child testreverse
- iteration orderstartWith
- starting pointer
-
-
Method Details
-
getElementNodeIterator
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
-