Class OMDescendantsIterator
- java.lang.Object
-
- org.apache.axiom.om.impl.traverse.OMAbstractIterator
-
- 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
Constructors Constructor Description OMDescendantsIterator(OMNode firstNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OMNodegetNextNode(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
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
OMDescendantsIterator
public OMDescendantsIterator(OMNode firstNode)
-
-
Method Detail
-
getNextNode
protected OMNode getNextNode(OMNode currentNode)
Description copied from class:OMAbstractIteratorGet the next node.- Specified by:
getNextNodein classOMAbstractIterator- Parameters:
currentNode- the predecessor of the node to retrieve- Returns:
- the next node
-
-