java.io.Serializable
, javax.xml.transform.SourceLocator
, SubContextList
, ExpressionNode
, ExpressionOwner
, XPathVisitable
public class ContextMatchStepPattern extends StepPattern
SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, SUPPORTS_PRE_STRIPPING, WILD
Constructor | Description |
---|---|
ContextMatchStepPattern(int axis,
int paxis) |
Construct a ContextMatchStepPattern.
|
Modifier and Type | Method | 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.
|
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr
debugWhatToShow, getDefaultScore, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShow
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
calcScore, calcTargetString, callVisitors, canTraverseOutsideSubtree, deepEquals, execute, execute, fixupVariables, getAxis, getExpression, getLastPos, getMatchScore, getPredicate, getPredicateCount, getPredicates, getProximityPosition, getRelativePathPattern, getTargetString, setAxis, setExpression, setPredicates, setRelativePathPattern, toString
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 ? 2014 Apache XML Project. All Rights Reserved.