org.apache.commons.jxpath.ri.model.beans
Class CollectionChildNodeIterator

java.lang.Object
  extended by org.apache.commons.jxpath.ri.model.beans.CollectionNodeIterator
      extended by 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) $
Author:
Dmitri Plotnikov

Constructor Summary
CollectionChildNodeIterator(CollectionPointer pointer, NodeTest test, boolean reverse, NodePointer startWith)
          Create a new CollectionChildNodeIterator.
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionChildNodeIterator

public CollectionChildNodeIterator(CollectionPointer pointer,
                                   NodeTest test,
                                   boolean reverse,
                                   NodePointer startWith)
Create a new CollectionChildNodeIterator.

Parameters:
pointer - CollectionPointer
test - child test
reverse - iteration order
startWith - 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 class CollectionNodeIterator
Parameters:
elementPointer - owning pointer
Returns:
NodeIterator


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.