|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.dtm.DTMAxisTraverser org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.IndexedDTMAxisTraverser org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantTraverser org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantOrSelfTraverser
private class DTMDefaultBaseTraversers.DescendantOrSelfTraverser
Implements traversal of the Ancestor access, in reverse document order.
Constructor Summary | |
---|---|
private |
DTMDefaultBaseTraversers.DescendantOrSelfTraverser()
|
Method Summary | |
---|---|
int |
first(int context)
By the nature of the stateless traversal, the context node can not be returned or the iteration will go into an infinate loop. |
protected int |
getFirstPotential(int identity)
Get the first potential identity that can be returned, which is the axis context, in this case. |
Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantTraverser |
---|
axisHasBeenProcessed, first, getSubtreeRoot, isAfterAxis, isDescendant, next, 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 |
---|
private DTMDefaultBaseTraversers.DescendantOrSelfTraverser()
Method Detail |
---|
protected int getFirstPotential(int identity)
getFirstPotential
in class DTMDefaultBaseTraversers.DescendantTraverser
identity
- The node identity of the root context of the traversal.
public int first(int context)
first
in class DTMAxisTraverser
context
- The context node of this traversal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |