|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xpath.Expression
org.apache.xpath.patterns.NodeTest
org.apache.xpath.axes.PredicatedNodeTest
org.apache.xpath.axes.AxesWalker
org.apache.xpath.axes.ReverseAxesWalker
public class ReverseAxesWalker
Walker for a reverse axes.
| Field Summary |
|---|
| Fields inherited from class org.apache.xpath.patterns.NodeTest |
|---|
SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, SUPPORTS_PRE_STRIPPING, WILD |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.xpath.axes.AxesWalker |
|---|
callVisitors, clone, deepEquals, getAnalysisBits, getAxis, getCurrentNode, getDTM, getExpression, getNextWalker, getPrevWalker, getRoot, init, nextNode, setDefaultDTM, setExpression, setNextWalker, setPrevWalker, wi |
| Methods inherited from class org.apache.xpath.axes.PredicatedNodeTest |
|---|
acceptNode, callPredicateVisitors, canTraverseOutsideSubtree, fixupVariables, getLocPathIterator, getPredicate, getPredicateCount, getPredicateIndex, getProximityPosition, getProximityPosition, initProximityPosition, resetProximityPositions, setLocPathIterator, setPredicateCount |
| Methods inherited from class org.apache.xpath.patterns.NodeTest |
|---|
debugWhatToShow, execute, execute, execute, getDefaultScore, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShow |
| Methods inherited from class org.apache.xpath.Expression |
|---|
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setRoot(int root)
setRoot in class AxesWalkerroot - The context node of this step.public void detach()
detach in class AxesWalkerpublic boolean isReverseAxes()
isReverseAxes in class PredicatedNodeTestpublic int getLastPos(XPathContext xctxt)
getLastPos in interface SubContextListgetLastPos in class AxesWalkerxctxt - The XPath runtime context.
public boolean isDocOrdered()
isDocOrdered in class AxesWalker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||