Class DefaultAllNodeStep

    • Method Detail

      • getText

        public java.lang.String getText()
        Description copied from interface: Step
        Returns a String containing the XPath expression.
        Specified by:
        getText in interface Step
        Overrides:
        getText in class DefaultStep
        Returns:
        the text form of this step
      • matches

        public boolean matches​(java.lang.Object node,
                               ContextSupport contextSupport)
        Description copied from interface: Step
        Performs the node-test part of evaluating the step for the given node (which must be on the axis).
        Specified by:
        matches in interface Step
        Parameters:
        node - the node to test
        contextSupport - function, namespace, and variable contexts
        Returns:
        true if the node matches this step; false if it doesn't