Class Document

  • All Implemented Interfaces:
    Serializable

    public class Document
    extends Object
    implements Serializable
    Represents an XHTML document.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Root

        protected Html m_Root
        the root element.
    • Constructor Detail

      • Document

        public Document()
        Initializes the document.
    • Method Detail

      • getRoot

        public Html getRoot()
        Returns the current root element, i.e., the HTML tag.
        Returns:
        the root element
      • toXML

        public void toXML​(StringBuilder buffer)
        Turns the XML tree into its string representation.
        Parameters:
        buffer - the buffer to append the tag to