Interface Page

    • Method Detail

      • getXHTML

        java.lang.String getXHTML()
                           throws java.lang.Exception
        Get the page's XHTML content, possibly null if the page uses structured data.
        Returns:
        the XHTML content as a String, or null if the page is a Structured Data page.
        Throws:
        java.lang.Exception - An exception will be thrown if the page's XHTML contents are not valid XML
      • getXHTMLAsXMLElement

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

        void setXHTML​(java.lang.String xhtml)
        Set the page's XHTML content.
        Parameters:
        xhtml - the content to be set