Class DefaultCommentNodeStep

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

public class DefaultCommentNodeStep extends DefaultStep implements CommentNodeStep
See Also:
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class DefaultStep
    • 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
    • matches

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