Save This Page
Home » dom4j-1.6.1 » org.dom4j » [javadoc | source]
org.dom4j
public interface: ProcessingInstruction [javadoc | source]

All Implemented Interfaces:
    Node

All Known Implementing Classes:
    FlyweightProcessingInstruction, AbstractProcessingInstruction, DefaultProcessingInstruction, DOMProcessingInstruction

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.

Method from org.dom4j.ProcessingInstruction Summary:
getTarget,   getText,   getValue,   getValues,   removeValue,   setTarget,   setValue,   setValues
Method from org.dom4j.ProcessingInstruction Detail:
 public String getTarget()
    This method is the equivalent to the #getName method. It is added for clarity.
 public String getText()
    DOCUMENT ME!
 public String getValue(String name)

    Returns the value of a specific name in the PI.

 public Map getValues()
    DOCUMENT ME!
 public boolean removeValue(String name)
 public  void setTarget(String target)
    This method is the equivalent to the #setName method. It is added for clarity.
 public  void setValue(String name,
    String value)
 public  void setValues(Map data)