Class SimpleXMLCreator


  • public class SimpleXMLCreator
    extends java.lang.Object
    This is a very simple xml creator. It allows creating an xml document containing multiple xml tags. No attributes are supported.
    Author:
    Tim Roes
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setRootElement​(XmlElement element)
      Set the root element of the xml tree.
      java.lang.String toString()
      Return the string representation of the xml tree.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SimpleXMLCreator

        public SimpleXMLCreator()
    • Method Detail

      • setRootElement

        public void setRootElement​(XmlElement element)
        Set the root element of the xml tree.
        Parameters:
        element - The element to use as root element in this tree.
      • toString

        public java.lang.String toString()
        Return the string representation of the xml tree.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String representation of the xml tree.