Class ProcessingInstruction

java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ProcessingInstruction
All Implemented Interfaces:
Locator

public final class ProcessingInstruction extends Node
A processing instruction.
Version:
$Id$
Author:
hsivonen
  • Constructor Details

    • ProcessingInstruction

      public ProcessingInstruction(Locator locator, String target, String data)
      Constructor.
      Parameters:
      locator - the locator
      target - PI target
      data - PI data
  • Method Details

    • getNodeType

      public NodeType getNodeType()
      Description copied from class: Node
      Return the node type.
      Specified by:
      getNodeType in class Node
      Returns:
      the node type
      See Also:
    • getData

      public String getData()
      Returns the data.
      Overrides:
      getData in class Node
      Returns:
      the data
    • getTarget

      public String getTarget()
      Returns the target.
      Overrides:
      getTarget in class Node
      Returns:
      the target