|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessingInstruction
ProcessingInstruction defines an XML processing instruction.
The Node.getName()method will return the target of the PI and the
Node.getText()method will return the data from all of the
instructions.
| Field Summary |
|---|
| Fields inherited from interface org.dom4j.Node |
|---|
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE |
| Method Summary | |
|---|---|
ProcessingInstruction |
clone()
clone will return a deep clone or if this node is
read-only then clone will return the same instance. |
String |
getTarget()
This method is the equivalent to the Node.getName()method. |
String |
getText()
DOCUMENT ME! |
String |
getValue(String name)
Returns the value of a specific name in the PI. |
Map<String,String> |
getValues()
DOCUMENT ME! |
boolean |
removeValue(String name)
|
void |
setTarget(String target)
This method is the equivalent to the Node.setName(java.lang.String)method. |
void |
setValue(String name,
String value)
|
void |
setValues(Map<String,String> data)
|
| Methods inherited from interface org.dom4j.Node |
|---|
accept, asXML, asXPathResult, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getStringValue, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write |
| Method Detail |
|---|
String getTarget()
Node.getName()method. It is added
for clarity.
void setTarget(String target)
Node.setName(java.lang.String)method. It is added
for clarity.
target - DOCUMENT ME!String getText()
getText in interface NodeString getValue(String name)
Returns the value of a specific name in the PI.
name - is the name of the attribute to lookup.
Map<String,String> getValues()
void setValue(String name,
String value)
void setValues(Map<String,String> data)
boolean removeValue(String name)
ProcessingInstruction clone()
Node
clone will return a deep clone or if this node is
read-only then clone will return the same instance.
clone in interface Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||