Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xpath.patterns
Class ContextMatchStepPattern  view ContextMatchStepPattern download ContextMatchStepPattern.java

java.lang.Object
  extended byorg.apache.xpath.Expression
      extended byorg.apache.xpath.patterns.NodeTest
          extended byorg.apache.xpath.patterns.StepPattern
              extended byorg.apache.xpath.patterns.ContextMatchStepPattern
All Implemented Interfaces:
org.apache.xpath.ExpressionNode, org.apache.xpath.ExpressionOwner, java.io.Serializable, javax.xml.transform.SourceLocator, org.apache.xpath.axes.SubContextList, org.apache.xpath.XPathVisitable

public class ContextMatchStepPattern
extends StepPattern

Special context node pattern matcher.


Nested Class Summary
 
Nested classes inherited from class org.apache.xpath.patterns.StepPattern
StepPattern.PredOwner
 
Field Summary
 
Fields inherited from class org.apache.xpath.patterns.StepPattern
m_axis, m_predicates, m_relativePathPattern, m_targetString
 
Fields inherited from class org.apache.xpath.patterns.NodeTest
m_name, m_namespace, m_score, m_whatToShow, SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, SUPPORTS_PRE_STRIPPING, WILD
 
Fields inherited from class org.apache.xpath.Expression
 
Constructor Summary
ContextMatchStepPattern(int axis, int paxis)
          Construct a ContextMatchStepPattern.
 
Method Summary
 org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext xctxt)
          Execute this pattern step, including predicates.
 org.apache.xpath.objects.XObject executeRelativePathPattern(org.apache.xpath.XPathContext xctxt, StepPattern prevStep)
          Execute the match pattern step relative to another step.
 
Methods inherited from class org.apache.xpath.patterns.StepPattern
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
 
Methods inherited from class org.apache.xpath.patterns.NodeTest
debugWhatToShow, 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, error, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextMatchStepPattern

public ContextMatchStepPattern(int axis,
                               int paxis)
Construct a ContextMatchStepPattern.

Method Detail

execute

public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext xctxt)
                                         throws javax.xml.transform.TransformerException
Execute this pattern step, including predicates.

Overrides:
execute in class StepPattern

executeRelativePathPattern

public org.apache.xpath.objects.XObject executeRelativePathPattern(org.apache.xpath.XPathContext xctxt,
                                                                   StepPattern prevStep)
                                                            throws javax.xml.transform.TransformerException
Execute the match pattern step relative to another step.