|
||||||||||
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
Super class for derived classes that want a convenient way to access the indexing mechanism.
Constructor Summary | |
private |
DTMDefaultBaseTraversers.IndexedDTMAxisTraverser()
|
Method Summary | |
protected abstract boolean |
axisHasBeenProcessed(int axisRoot)
Tell if the axis has been fully processed to tell if a the wait for an arriving node should terminate. |
protected int |
getNextIndexed(int axisRoot,
int nextPotential,
int expandedTypeID)
Get the next indexed node that matches the expanded type ID. |
protected abstract boolean |
isAfterAxis(int axisRoot,
int identity)
Tell if a node is outside the axis being traversed. |
protected boolean |
isIndexed(int expandedTypeID)
Tell if the indexing is on and the given expanded type ID matches what is in the indexes. |
Methods inherited from class org.apache.xml.dtm.DTMAxisTraverser |
first, first, next, next |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private DTMDefaultBaseTraversers.IndexedDTMAxisTraverser()
Method Detail |
protected final boolean isIndexed(int expandedTypeID)
getNextIndexed
method.
expandedTypeID
- The expanded type ID being requested.
getNextIndexed
method.protected abstract boolean isAfterAxis(int axisRoot, int identity)
axisRoot
- The root identity of the axis.identity
- The node in question.
protected abstract boolean axisHasBeenProcessed(int axisRoot)
axisRoot
- The root identity of the axis.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |