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_traverser
m_foundLast, m_lpi, m_predCount, m_proximityPositions
m_name, m_whatToShow, SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, SUPPORTS_PRE_STRIPPING, WILD
Modifier and Type | Method and Description |
---|---|
protected void |
countProximityPosition(int i)
Count backwards 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 this node list.
|
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 |
isDocOrdered()
Returns true if all the nodes in the iteration well be returned in document
order.
|
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, getCurrentNode, getDTM, getExpression, getNextWalker, getPrevWalker, getRoot, init, nextNode, setDefaultDTM, setExpression, setNextWalker, setPrevWalker, wi
acceptNode, callPredicateVisitors, canTraverseOutsideSubtree, fixupVariables, getLocPathIterator, getPredicate, getPredicateCount, getPredicateIndex, getProximityPosition, getProximityPosition, initPredicateInfo, initProximityPosition, nodeToString, resetProximityPositions, setLocPathIterator, setPredicateCount
calcScore, debugWhatToShow, execute, execute, execute, getDefaultScore, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShow
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr
protected DTMAxisIterator m_iterator
public void setRoot(int root)
setRoot
in class AxesWalker
root
- The context node of this step.public void detach()
detach
in class AxesWalker
protected int getNextNode()
getNextNode
in class AxesWalker
public boolean isReverseAxes()
isReverseAxes
in class PredicatedNodeTest
protected int getProximityPosition(int predicateIndex)
getProximityPosition
in class PredicatedNodeTest
predicateIndex
- The predicate index of the proximity position.protected void countProximityPosition(int i)
countProximityPosition
in class PredicatedNodeTest
i
- The predicate index.public int getLastPos(XPathContext xctxt)
getLastPos
in interface SubContextList
getLastPos
in class AxesWalker
xctxt
- The XPath runtime context.public boolean isDocOrdered()
isDocOrdered
in class AxesWalker
Copyright © 2017 JBoss by Red Hat. All rights reserved.