Package org.dom4j

Interface ProcessingInstruction

    • Method Detail

      • getTarget

        java.lang.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​(java.lang.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

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

        java.lang.String getValue​(java.lang.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

        java.util.Map<java.lang.String,​java.lang.String> getValues()
        DOCUMENT ME!
        Returns:
        the values for this processing instruction as a Map
      • setValue

        void setValue​(java.lang.String name,
                      java.lang.String value)
      • setValues

        void setValues​(java.util.Map<java.lang.String,​java.lang.String> data)
      • removeValue

        boolean removeValue​(java.lang.String name)