|
|||||||||||
| 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.patterns.StepPattern
org.apache.xpath.patterns.ContextMatchStepPattern
Special context node pattern matcher.
| 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 |
| Constructor Summary | |
ContextMatchStepPattern(int axis,
int paxis)
Construct a ContextMatchStepPattern. |
|
| Method Summary | |
XObject |
execute(XPathContext xctxt)
Execute this pattern step, including predicates. |
XObject |
executeRelativePathPattern(XPathContext xctxt,
StepPattern prevStep)
Execute the match pattern step relative to another step. |
| Methods inherited from class org.apache.xpath.patterns.StepPattern |
calcScore, calcTargetString, callVisitors, canTraverseOutsideSubtree, deepEquals, execute, execute, fixupVariables, getAxis, getExpression, getLastPos, getMatchScore, getPredicate, getPredicateCount, getPredicates, getProximityPosition, getRelativePathPattern, getTargetString, setAxis, setExpression, setPredicates, setRelativePathPattern, toString |
| Methods inherited from class org.apache.xpath.patterns.NodeTest |
debugWhatToShow, 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, wait, wait, wait |
| Constructor Detail |
public ContextMatchStepPattern(int axis,
int paxis)
| Method Detail |
public XObject execute(XPathContext xctxt)
throws TransformerException
execute in class StepPatternxctxt - XPath runtime context.
NodeTest.SCORE_NODETEST,
NodeTest.SCORE_NONE,
NodeTest.SCORE_NSWILD,
NodeTest.SCORE_QNAME, or
NodeTest.SCORE_OTHER.
TransformerException
public XObject executeRelativePathPattern(XPathContext xctxt,
StepPattern prevStep)
throws TransformerException
xctxt - The XPath runtime context.
NEEDSDOC @param prevStep
NodeTest.SCORE_NODETEST,
NodeTest.SCORE_NONE,
NodeTest.SCORE_NSWILD,
NodeTest.SCORE_QNAME, or
NodeTest.SCORE_OTHER.
TransformerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||