Class DefaultProcessingInstructionNodeStep

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

public class DefaultProcessingInstructionNodeStep extends DefaultStep implements ProcessingInstructionNodeStep
See Also:
  • Method Details

    • getName

      public String getName()
      Description copied from interface: ProcessingInstructionNodeStep
      Returns the target matched by this processing instruction node-step.
      Specified by:
      getName in interface ProcessingInstructionNodeStep
      Returns:
      the target of the processing instruction
    • 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 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