org.apache.axiom.om.impl.common
Class OMDescendantsIterator

java.lang.Object
  extended by org.apache.axiom.om.impl.common.OMAbstractIterator
      extended by org.apache.axiom.om.impl.common.OMDescendantsIterator
All Implemented Interfaces:
java.util.Iterator

public class OMDescendantsIterator
extends OMAbstractIterator

Iterator that iterates over all descendants in document order.


Constructor Summary
OMDescendantsIterator(OMContainer container, boolean includeSelf)
           
 
Method Summary
protected  OMSerializable getNextNode(OMSerializable currentNode)
          Get the next node.
 
Methods inherited from class org.apache.axiom.om.impl.common.OMAbstractIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OMDescendantsIterator

public OMDescendantsIterator(OMContainer container,
                             boolean includeSelf)
Method Detail

getNextNode

protected OMSerializable getNextNode(OMSerializable currentNode)
Description copied from class: OMAbstractIterator
Get the next node.

Specified by:
getNextNode in class OMAbstractIterator
Parameters:
currentNode - the predecessor of the node to retrieve
Returns:
the next node


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.