Class ProcessingInstruction


  • public class ProcessingInstruction
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      ProcessingInstruction​(java.lang.String target, java.lang.String data)
      Creates a new processing instruction.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getData()
      Returns the data for the processing instruction.
      java.lang.String getTarget()
      Returns the target for the processing instruction.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProcessingInstruction

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

      • getTarget

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

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