org.dom4j.tree
public class DefaultProcessingInstruction extends FlyweightProcessingInstruction
DefaultProcessingInstruction
is the default Processing
Instruction implementation. It is a doubly linked node which supports the
parent relationship and can be modified in place.
Version: $Revision: 1.13 $
Constructor Summary | |
---|---|
DefaultProcessingInstruction(String target, Map values) This will create a new PI with the given target and values | |
DefaultProcessingInstruction(String target, String values) This will create a new PI with the given target and values | |
DefaultProcessingInstruction(Element parent, String target, String values) This will create a new PI with the given target and values |
Method Summary | |
---|---|
Element | getParent() |
boolean | isReadOnly() |
void | setParent(Element parent) |
void | setTarget(String target) |
void | setText(String text) |
void | setValue(String name, String value) |
void | setValues(Map values) |
boolean | supportsParent() |
This will create a new PI with the given target and values
Parameters: target
is the name of the PI values
is the Map
values for the PI
This will create a new PI with the given target and values
Parameters: target is the name of the PI values is the values for the PI
This will create a new PI with the given target and values
Parameters: parent is the parent element target is the name of the PI values is the values for the PI