Class DefaultTextNodeStep

    • Method Detail

      • matches

        public boolean matches​(java.lang.Object node,
                               ContextSupport support)
        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
        support - function, namespace, and variable contexts
        Returns:
        true if the node matches this step; false if it doesn't
      • 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