|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.dtm.DTMAxisTraverser
org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.IndexedDTMAxisTraverser
org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantTraverser
org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantOrSelfFromRootTraverser
private class DTMDefaultBaseTraversers.DescendantOrSelfFromRootTraverser
A non-xpath axis, returns all nodes that aren't namespaces or attributes, from and including the root.
| Constructor Summary | |
|---|---|
private |
DTMDefaultBaseTraversers.DescendantOrSelfFromRootTraverser()
|
| Method Summary | |
|---|---|
int |
first(int context)
Return the root. |
int |
first(int context,
int expandedTypeID)
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 root context in this case. |
protected int |
getSubtreeRoot(int handle)
Get the first potential identity that can be returned. |
| Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseTraversers.DescendantTraverser |
|---|
axisHasBeenProcessed, 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.DescendantOrSelfFromRootTraverser()
| Method Detail |
|---|
protected int getFirstPotential(int identity)
getFirstPotential in class DTMDefaultBaseTraversers.DescendantTraverseridentity - The node identity of the root context of the traversal.
protected int getSubtreeRoot(int handle)
getSubtreeRoot in class DTMDefaultBaseTraversers.DescendantTraverserhandle - handle to the root context.
public int first(int context)
first in class DTMAxisTraversercontext - The context node of this traversal.
public int first(int context,
int expandedTypeID)
This method needs to be overloaded only by those axis that process the self node. <\p>
first in class DTMDefaultBaseTraversers.DescendantTraversercontext - The context node of this traversal. This is the point
of origin for the traversal -- its "root node" or starting point.expandedTypeID - The expanded type ID that must match.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||