public class ContextMatchStepPattern extends StepPattern
SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, SUPPORTS_PRE_STRIPPING, WILD
Constructor and Description |
---|
ContextMatchStepPattern(int axis,
int paxis)
Construct a ContextMatchStepPattern.
|
Modifier and Type | Method and Description |
---|---|
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.
|
calcScore, calcTargetString, callVisitors, canTraverseOutsideSubtree, deepEquals, execute, execute, fixupVariables, getAxis, getExpression, getLastPos, getMatchScore, getPredicate, getPredicateCount, getPredicates, getProximityPosition, getRelativePathPattern, getTargetString, setAxis, setExpression, setPredicates, setRelativePathPattern, toString
debugWhatToShow, getDefaultScore, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShow
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr
public ContextMatchStepPattern(int axis, int paxis)
public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
execute
in class StepPattern
xctxt
- XPath runtime context.NodeTest.SCORE_NODETEST
,
NodeTest.SCORE_NONE
,
NodeTest.SCORE_NSWILD
,
NodeTest.SCORE_QNAME
, or
NodeTest.SCORE_OTHER
.javax.xml.transform.TransformerException
public XObject executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep) throws javax.xml.transform.TransformerException
xctxt
- The XPath runtime context.
NEEDSDOC @param prevStepNodeTest.SCORE_NODETEST
,
NodeTest.SCORE_NONE
,
NodeTest.SCORE_NSWILD
,
NodeTest.SCORE_QNAME
, or
NodeTest.SCORE_OTHER
.javax.xml.transform.TransformerException
Copyright © 2006 Apache XML Project. All Rights Reserved.