Class Document

    • Constructor Detail

      • Document

        public Document()
        Initializes the document.
    • Method Detail

      • setRoot

        public void setRoot​(AbstractTag value)
        Sets the root element.
        Parameters:
        value - the new root element
      • getRoot

        public AbstractTag getRoot()
        Returns the current root element.
        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