org.dom4j
public interface ProcessingInstruction extends Node
ProcessingInstruction
defines an XML processing instruction.
The {@link Node#getName}method will return the target of the PI and the
{@link Node#getText}method will return the data from all of the
instructions.
Version: $Revision: 1.10 $
Method Summary | |
---|---|
String | getTarget()
This method is the equivalent to the {@link #getName}method. |
String | getText()
DOCUMENT ME!
|
String | getValue(String name) Returns the value of a specific name in the PI. |
Map | getValues()
DOCUMENT ME!
|
boolean | removeValue(String name) |
void | setTarget(String target)
This method is the equivalent to the {@link #setName}method. |
void | setValue(String name, String value) |
void | setValues(Map data) |
Returns: the target of this PI
Returns: the text for all the data associated with the processing instruction
Returns the value of a specific name in the PI.
Parameters: name is the name of the attribute to lookup.
Returns: the value of the named attribute
Returns: the values for this processing instruction as a Map
Parameters: target DOCUMENT ME!