| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.xpath.Expressionorg.apache.xpath.patterns.NodeTestorg.apache.xpath.patterns.StepPatternorg.apache.xpath.patterns.ContextMatchStepPatternpublic class ContextMatchStepPatternextends StepPatternNested Class Summary |
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 | |
| |
Method Summary | |
XObject |
|
XObject |
|
Methods inherited from class org.apache.xpath.patterns.StepPattern | |
calcScore, calcTargetString, callVisitors, canTraverseOutsideSubtree, deepEquals, execute, 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 | |
callVisitors, debugWhatToShow, deepEquals, execute, execute, execute, fixupVariables, 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, canTraverseOutsideSubtree, deepEquals, error, execute, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, fixupVariables, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr | |
public ContextMatchStepPattern(int axis,
int paxis)Construct a ContextMatchStepPattern.
- Parameters:
public XObject execute(XPathContext xctxt) throws TransformerException
Execute this pattern step, including predicates.NodeTest.SCORE_NONE,NodeTest.SCORE_NSWILD,NodeTest.SCORE_QNAME, orNodeTest.SCORE_OTHER.
- Overrides:
- execute in interface StepPattern
- Parameters:
xctxt- XPath runtime context.
- Returns:
NodeTest.SCORE_NODETEST,
- Throws:
TransformerException-
public XObject executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep) throws TransformerException
Execute the match pattern step relative to another step.NodeTest.SCORE_NONE,NodeTest.SCORE_NSWILD,NodeTest.SCORE_QNAME, orNodeTest.SCORE_OTHER.
- Parameters:
xctxt- The XPath runtime context. NEEDSDOC @param prevStep
- Returns:
NodeTest.SCORE_NODETEST,
- Throws:
TransformerException-