Class ContextMatchStepPattern

    • Constructor Detail

      • ContextMatchStepPattern

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

      • execute

        public XObject execute​(XPathContext xctxt)
                        throws javax.xml.transform.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:
        javax.xml.transform.TransformerException - if a runtime exception occurs.