Class ContextMatchStepPattern

All Implemented Interfaces:
SourceLocator, SubContextList, ExpressionNode, XPathVisitable

public class ContextMatchStepPattern extends StepPattern
Special context node pattern matcher.
  • Constructor Details

    • ContextMatchStepPattern

      public ContextMatchStepPattern(int axis, int paxis)
      Construct a ContextMatchStepPattern.
      Parameters:
      axis - the axis
      paxis - the p axis
  • Method Details

    • execute

      public XObject execute(XPathContext xctxt) throws TransformerException
      Execute an expression in the XPath runtime context, and return the result of the expression.
      Overrides:
      execute in class StepPattern
      Parameters:
      xctxt - The XPath runtime context.
      Returns:
      The result of the expression in the form of a XObject.
      Throws:
      TransformerException - if a runtime exception occurs.