Public Member Functions | |
ProcessingInstruction (String target, Map data) | |
ProcessingInstruction (String target, String data) | |
ProcessingInstruction | setTarget (String newTarget) |
Element | getParent () |
ProcessingInstruction | detach () |
Document | getDocument () |
String | getTarget () |
String | getData () |
List | getNames () |
ProcessingInstruction | setData (String data) |
ProcessingInstruction | setData (Map data) |
String | getValue (String name) |
ProcessingInstruction | setValue (String name, String value) |
boolean | removeValue (String name) |
String | toString () |
final boolean | equals (Object ob) |
final int | hashCode () |
Object | clone () |
Protected Member Functions | |
ProcessingInstruction () | |
ProcessingInstruction | setParent (Element parent) |
ProcessingInstruction | setDocument (Document document) |
Protected Attributes | |
String | target |
String | rawData |
Map | mapData |
Object | parent |
ProcessingInstruction
defines behavior for an XML processing instruction, modeled in Java. Methods allow the user to obtain the target of the PI as well as its data. The data can always be accessed as a String, and where appropriate can be retrieved as name/value pairs.
Jason Hunter
Steven Gould
|
Default, no-args constructor for implementations to use if needed. |
|
This will create a new
|
|
This will create a new
|
|
This will return a clone of this
|
|
This detaches the PI from its parent, or does nothing if the PI has no parent.
|
|
This tests for equality of this
|
|
This will return the raw data from all instructions.
|
|
This retrieves the owning
|
|
This will return a
|
|
This will return the parent of this
|
|
This will retrieve the target of the PI.
|
|
This will return the value for a specific name/value pair on the PI. If no such pair is found for this PI, null is returned.
|
|
This returns the hash code for this
|
|
This will remove the name/value pair with the specified name.
|
|
This will set the name/value pairs within the passed
|
|
This will set the raw data for the PI.
|
|
This sets the
|
|
This will set the parent of this
|
|
This will set the target for the PI.
|
|
This will set the value for the specified name/value pair. If no matching pair is found, the supplied pair is added to the PI data.
|
|
This returns a
|
|
The data for the PI in name/value pairs |
|
Parent element, document, or null if none |
|
The data for the PI as a String |
|
The target of the PI |