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, 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, wiacceptNode, callPredicateVisitors, canTraverseOutsideSubtree, fixupVariables, getLocPathIterator, getPredicate, getPredicateCount, getPredicateIndex, getProximityPosition, getProximityPosition, initPredicateInfo, initProximityPosition, nodeToString, resetProximityPositions, setLocPathIterator, setPredicateCountcalcScore, debugWhatToShow, execute, execute, execute, getDefaultScore, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShowasIterator, asIteratorRaw, asNode, assertion, bool, error, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstrprotected 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 predicate index of the proximity position.protected void countProximityPosition(int i)
countProximityPosition in class PredicatedNodeTesti - The predicate index.public int getLastPos(XPathContext xctxt)
getLastPos in interface SubContextListgetLastPos in class AxesWalkerxctxt - The XPath runtime context.public boolean isDocOrdered()
isDocOrdered in class AxesWalkerCopyright © 2018 JBoss by Red Hat. All rights reserved.