public class ContextMatchStepPattern extends StepPattern
m_axis
m_name, m_whatToShow, 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, callSubtreeVisitors, callVisitors, canTraverseOutsideSubtree, deepEquals, execute, execute, executePredicates, executeRelativePathPattern, 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, isSameClass, isStableNumber, num, warn, xstr
public ContextMatchStepPattern(int axis, int paxis)
public XObject execute(XPathContext xctxt) throws 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
.TransformerException
public XObject executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep) throws TransformerException
xctxt
- The XPath runtime context.
NEEDSDOC @param prevStepNodeTest.SCORE_NODETEST
,
NodeTest.SCORE_NONE
,
NodeTest.SCORE_NSWILD
,
NodeTest.SCORE_QNAME
, or
NodeTest.SCORE_OTHER
.TransformerException
Copyright © 2016 JBoss by Red Hat. All rights reserved.