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

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

public class OMDescendantsIterator
extends OMAbstractIterator

Iterator that iterates over all descendants in document order.


Constructor Summary
OMDescendantsIterator(OMNode firstNode)
           
 
Method Summary
protected  OMNode getNextNode(OMNode currentNode)
          Get the next node.
 
Methods inherited from class org.apache.axiom.om.impl.traverse.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(OMNode firstNode)
Method Detail

getNextNode

protected OMNode getNextNode(OMNode 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-2013 The Apache Software Foundation. All Rights Reserved.