Interface XMLBlock

    • Method Detail

      • getXML

        java.lang.String getXML()
                         throws java.lang.Exception
        Get the XML content of this block.
        Returns:
        the XML content as a String
        Throws:
        java.lang.Exception - An exception will be thrown if the blocks's XML contents are not valid XML
      • getXMLAsXMLElement

        org.jdom.Element getXMLAsXMLElement()
                                     throws java.lang.Exception
        Get the block's XML content as XML element instead of String. The returned Element will always be system-xml element containing the actual XML as its children.
        Returns:
        Throws:
        java.lang.Exception