Class ProcessingInstruction

java.lang.Object
org.exolab.castor.xml.ProcessingInstruction

public class ProcessingInstruction extends Object
An immutable class that represents an XML processing instruction.
Version:
$Revision: 6761 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author:
Keith Visco
  • Constructor Details

    • ProcessingInstruction

      public ProcessingInstruction(String target, String data)
      Creates a new processing instruction.
      Parameters:
      target - the target for the processing instruction.
      data - the data for the processing instruction.
  • Method Details

    • getTarget

      public String getTarget()
      Returns the target for the processing instruction.
      Returns:
      the target for the processing instruction.
    • getData

      public String getData()
      Returns the data for the processing instruction.
      Returns:
      the data for the processing instruction.