Interface ProcessingInstruction

All Superinterfaces:
Node

public interface ProcessingInstruction extends Node
This interface documents the ProcessingInstruction node type. For example,
<?xml-stylesheet href="mystyle.css" type="text/css"?>
  • Method Details

    • getData

      String getData()
      This method retrieves the data.
      Returns:
      the data of this ProcessingInstruction
    • getTarget

      String getTarget()
      This method retrieves the target.
      Returns:
      the target of this ProcessingInstruction
    • setData

      void setData(String data)
      This method sets the data to data.
      Parameters:
      data - the new data