APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xpath.internal.patterns

public Class ContextMatchStepPattern

extends StepPattern
Class Inheritance
Imports
com.sun.org.apache.xml.internal.dtm.Axis, .DTM, .DTMAxisTraverser, .DTMFilter, com.sun.org.apache.xpath.internal.XPathContext, com.sun.org.apache.xpath.internal.axes.WalkerFactory, com.sun.org.apache.xpath.internal.objects.XObject

Special context node pattern matcher.

Field Summary

Modifier and TypeField and Description
pack-priv static final long
Inherited from com.sun.org.apache.xpath.internal.patterns.StepPattern:
m_axism_predicatesm_relativePathPatternm_targetString

Constructor Summary

AccessConstructor and Description
public
ContextMatchStepPattern(int axis, int paxis)

Construct a ContextMatchStepPattern.

Method Summary

Modifier and TypeMethod and Description
public XObject
public XObject
Inherited from com.sun.org.apache.xpath.internal.patterns.StepPattern:
calcScorecalcTargetStringcallSubtreeVisitorscallVisitorscanTraverseOutsideSubtreedeepEqualsexecuteexecuteexecutePredicatesexecuteRelativePathPatternfixupVariablesgetAxisgetExpressiongetLastPosgetMatchScoregetPredicategetPredicateCountgetPredicatesgetProximityPositiongetRelativePathPatterngetTargetStringsetAxissetExpressionsetPredicatessetRelativePathPatterntoString

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xpath.internal.patterns.StepPattern.serialVersionUID.

Constructor Detail

ContextMatchStepPatternback to summary
public ContextMatchStepPattern(int axis, int paxis)

Construct a ContextMatchStepPattern.

Method Detail

executeback to summary
public XObject execute(XPathContext xctxt) throws TransformerException

Overrides com.sun.org.apache.xpath.internal.patterns.StepPattern.execute.

Execute this pattern step, including predicates.

Parameters
xctxt:XPathContext

XPath runtime context.

Returns:XObject

com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_NODETEST, com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_NONE, com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_NSWILD, com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_QNAME, or com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_OTHER.

Exceptions
TransformerException:

Doc from com.sun.org.apache.xpath.internal.Expression.execute.

if a runtime exception occurs.

executeRelativePathPatternback to summary
public XObject executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep) throws TransformerException

Execute the match pattern step relative to another step.

Parameters
xctxt:XPathContext

The XPath runtime context. NEEDSDOC @param prevStep

Returns:XObject

com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_NODETEST, com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_NONE, com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_NSWILD, com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_QNAME, or com.sun.org.apache.xpath.internal.patterns.NodeTest#SCORE_OTHER.