|
||||||||||
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.ChildTraverser
private class DTMDefaultBaseTraversers.ChildTraverser
Implements traversal of the Ancestor access, in reverse document order.
Constructor Summary | |
---|---|
private |
DTMDefaultBaseTraversers.ChildTraverser()
|
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. |
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 |
getNextIndexed(int axisRoot,
int nextPotential,
int expandedTypeID)
Get the next indexed node that matches the expanded type ID. |
int |
next(int context,
int current)
Traverse to the next node after the current node. |
int |
next(int context,
int current,
int expandedTypeID)
Traverse to the next node after the current node that is matched by the expanded type ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private DTMDefaultBaseTraversers.ChildTraverser()
Method Detail |
---|
protected int getNextIndexed(int axisRoot, int nextPotential, int expandedTypeID)
isIndexed
to make sure that the index can
contain nodes that match the given expanded type ID.
axisRoot
- The root identity of the axis.nextPotential
- The node found must match or occur after this node.expandedTypeID
- The expanded type ID for the request.
public int first(int context)
This method needs to be overloaded only by those axis that process the self node. <\p>
first
in class DTMAxisTraverser
context
- The context node of this traversal. This is the point
that the traversal starts from.
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 DTMAxisTraverser
context
- 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.
public int next(int context, int current)
next
in class DTMAxisTraverser
context
- The context node of this iteration.current
- The current node of the iteration.
DTMAxisTraverser.first(int)
public int next(int context, int current, int expandedTypeID)
next
in class DTMAxisTraverser
context
- The context node of this iteration.current
- The current node of the iteration.expandedTypeID
- The expanded type ID that must match.
DTMAxisTraverser.first(int,int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |