org.apache.xml.dtm.ref
Class DTMDefaultBaseTraversers.AllFromNodeTraverser

java.lang.Object
  extended by org.apache.xml.dtm.DTMAxisTraverser
      extended by org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.IndexedDTMAxisTraverser
          extended by org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantTraverser
              extended by org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantOrSelfTraverser
                  extended by org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.AllFromNodeTraverser
Direct Known Subclasses:
DTMDefaultBaseTraversers.AllFromRootTraverser
Enclosing class:
DTMDefaultBaseTraversers

private class DTMDefaultBaseTraversers.AllFromNodeTraverser
extends DTMDefaultBaseTraversers.DescendantOrSelfTraverser

Implements traversal of the entire subtree, including the root node.


Constructor Summary
private DTMDefaultBaseTraversers.AllFromNodeTraverser()
           
 
Method Summary
 int next(int context, int current)
          Traverse to the next node after the current node.
 
Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantOrSelfTraverser
first, getFirstPotential
 
Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantTraverser
axisHasBeenProcessed, first, getSubtreeRoot, isAfterAxis, isDescendant, next
 
Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.IndexedDTMAxisTraverser
getNextIndexed, isIndexed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTMDefaultBaseTraversers.AllFromNodeTraverser

private DTMDefaultBaseTraversers.AllFromNodeTraverser()
Method Detail

next

public int next(int context,
                int current)
Traverse to the next node after the current node.

Overrides:
next in class DTMDefaultBaseTraversers.DescendantTraverser
Parameters:
context - The context node of this iteration.
current - The current node of the iteration.
Returns:
the next node in the iteration, or DTM.NULL.
See Also:
DTMAxisTraverser.first(int)