Package org.dom4j

Interface ProcessingInstruction

    • Method Detail

      • getTarget

        String getTarget()
        This method is the equivalent to the Node.getName()method. It is added for clarity.
        Returns:
        the target of this PI
      • setTarget

        void setTarget​(String target)
        This method is the equivalent to the Node.setName(java.lang.String)method. It is added for clarity.
        Parameters:
        target - DOCUMENT ME!
      • getText

        String getText()
        DOCUMENT ME!
        Specified by:
        getText in interface Node
        Returns:
        the text for all the data associated with the processing instruction
      • getValue

        String getValue​(String name)

        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
      • getValues

        Map<String,​String> getValues()
        DOCUMENT ME!
        Returns:
        the values for this processing instruction as a Map
      • removeValue

        boolean removeValue​(String name)