com.wutka.dtd
Class DTDProcessingInstruction
java.lang.Object
|
+--com.wutka.dtd.DTDProcessingInstruction
- All Implemented Interfaces:
- DTDOutput
- public class DTDProcessingInstruction
- extends java.lang.Object
- implements DTDOutput
Represents a processing instruction in the DTD
Field Summary |
java.lang.String |
text
The processing instruction text |
Method Summary |
boolean |
equals(java.lang.Object ob)
|
java.lang.String |
getText()
Retrieves the instruction text |
void |
setText(java.lang.String theText)
Sets the instruction text |
java.lang.String |
toString()
|
void |
write(java.io.PrintWriter out)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
public java.lang.String text
- The processing instruction text
DTDProcessingInstruction
public DTDProcessingInstruction()
DTDProcessingInstruction
public DTDProcessingInstruction(java.lang.String theText)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
write
public void write(java.io.PrintWriter out)
throws java.io.IOException
- Specified by:
write
in interface DTDOutput
equals
public boolean equals(java.lang.Object ob)
- Overrides:
equals
in class java.lang.Object
setText
public void setText(java.lang.String theText)
- Sets the instruction text
getText
public java.lang.String getText()
- Retrieves the instruction text