Class DefaultTextNodeStep

java.lang.Object
org.jaxen.expr.DefaultStep
org.jaxen.expr.DefaultTextNodeStep
All Implemented Interfaces:
Serializable, Predicated, Step, TextNodeStep

public class DefaultTextNodeStep extends DefaultStep implements TextNodeStep
See Also:
  • Method Details

    • matches

      public boolean matches(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 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