sjg.xml
Class ProcessingInstruction

java.lang.Object
  extended by sjg.xml.ProcessingInstruction

public class ProcessingInstruction
extends java.lang.Object

Represent an XML processing instruction.


Constructor Summary
ProcessingInstruction(java.lang.String text)
          Constructs a new data processing instruction with the given contents.
 
Method Summary
 java.lang.String getText()
          Returns the text contents of this processing instruction.
 java.lang.String toString()
          Returns the textual representation of this pi.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessingInstruction

public ProcessingInstruction(java.lang.String text)
Constructs a new data processing instruction with the given contents.

Method Detail

getText

public java.lang.String getText()
Returns the text contents of this processing instruction.


toString

public java.lang.String toString()
Returns the textual representation of this pi.

Overrides:
toString in class java.lang.Object