org.apache.xpath.axes
Class ReverseAxesWalker
- Cloneable, ExpressionNode, ExpressionOwner, PathComponent, java.io.Serializable, SourceLocator, SubContextList, XPathVisitable
public class ReverseAxesWalker
Walker for a reverse axes.
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.
|
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, detach, getAnalysisBits, getAxis, getCurrentNode, getDTM, getExpression, getLastPos, getNextWalker, getPrevWalker, getRoot, init, isDocOrdered, nextNode, setDefaultDTM, setExpression, setNextWalker, setPrevWalker, setRoot, wi |
acceptNode, callPredicateVisitors, canTraverseOutsideSubtree, clone, deepEquals, fixupVariables, getLastPos, getLocPathIterator, getPredicate, getPredicateCount, getPredicateIndex, getProximityPosition, getProximityPosition, initProximityPosition, isReverseAxes, resetProximityPositions, setLocPathIterator, setPredicateCount |
callVisitors, debugWhatToShow, deepEquals, execute, execute, execute, fixupVariables, getDefaultScore, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShow |
asIterator, asIteratorRaw, asNode, assertion, bool, canTraverseOutsideSubtree, deepEquals, error, execute, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, fixupVariables, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr |
detach
public void detach()
Detaches the walker from the set which it iterated over, releasing
any computational resources and placing the iterator in the INVALID
state.
- detach in interface AxesWalker
isDocOrdered
public boolean isDocOrdered()
Returns true if all the nodes in the iteration well be returned in document
order.
Warning: This can only be called after setRoot has been called!
- isDocOrdered in interface AxesWalker
isReverseAxes
public boolean isReverseAxes()
Tells if this is a reverse axes. Overrides AxesWalker#isReverseAxes.
- isReverseAxes in interface PredicatedNodeTest
setRoot
public void setRoot(int root)
Set the root node of the TreeWalker.
(Not part of the DOM2 TreeWalker interface).
- setRoot in interface AxesWalker
root - The context node of this step.
Copyright B) 2005 Apache XML Project. All Rights Reserved.