public class ReverseAxesWalker extends AxesWalker
| Modifier and Type | Field and Description |
|---|---|
protected DTMAxisIterator |
m_iterator
The DTM inner traversal class, that corresponds to the super axis.
|
m_axis, m_nextWalker, m_traverserm_foundLast, m_lpi, m_predCount, m_proximityPositionsm_name, m_whatToShow, SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, WILD| Modifier and Type | Method and Description |
|---|---|
protected void |
countProximityPosition(int i)
Count forward one proximity position.
|
void |
detach()
Detaches the walker from the set which it iterated over, releasing any computational resources
and placing the iterator in the INVALID state.
|
int |
getLastPos(XPathContext xctxt)
Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the
last index position.
|
protected int |
getNextNode()
Get the next node in document order on the axes.
|
protected int |
getProximityPosition(int predicateIndex)
Get the current sub-context position.
|
boolean |
isReverseAxes()
Tells if this is a reverse axes.
|
void |
setRoot(int root)
Set the root node of the TreeWalker.
|
callVisitors, clone, deepEquals, getAnalysisBits, getAxis, getDTM, getNextWalker, getRoot, init, nextNode, setNextWalker, setPrevWalker, wiacceptNode, callPredicateVisitors, canTraverseOutsideSubtree, getPredicate, getPredicateCount, getProximityPosition, getProximityPosition, initPredicateInfo, initProximityPosition, nodeToString, resetProximityPositions, setLocPathIterator, setPredicateCountcalcScore, execute, execute, execute, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShowasIterator, asNode, assertion, bool, error, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numprotected DTMAxisIterator m_iterator
public void setRoot(int root)
setRoot in class AxesWalkerroot - The context node of this step.public void detach()
detach in class AxesWalkerprotected int getNextNode()
getNextNode in class AxesWalkerpublic boolean isReverseAxes()
isReverseAxes in class PredicatedNodeTestprotected int getProximityPosition(int predicateIndex)
getProximityPosition in class PredicatedNodeTestpredicateIndex - The index of the predicate where the proximity should be taken from.protected void countProximityPosition(int i)
countProximityPosition in class PredicatedNodeTesti - The index into the m_proximityPositions array, where the increment will occur.public int getLastPos(XPathContext xctxt)
getLastPos in interface SubContextListgetLastPos in class AxesWalkerxctxt - The XPath runtime context.Copyright © 2022–2023. All rights reserved.