| Constructor and Description |
|---|
ProcessingInstruction(ProcessingInstruction original)
Copy constructor.
|
ProcessingInstruction(java.lang.String text)
Creates a new
ProcessingInstruction object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPI()
Gets the processing instruction text.
|
ExtChildType |
getType()
Gets the type of child this object is (one of the
ExtChildType values). |
void |
setPI(java.lang.String text)
Sets the processing instruction text.
|
public ProcessingInstruction(ProcessingInstruction original)
original - the original object to duplicate.public ProcessingInstruction(java.lang.String text)
ProcessingInstruction object.text - the text of the content (can be null).public ExtChildType getType()
IExtChildExtChildType values).public java.lang.String getPI()
public void setPI(java.lang.String text)
text - the new processing instruction text (can be null).