Package de.timroes.axmlrpc.xmlcreator
Class SimpleXMLCreator
- java.lang.Object
-
- de.timroes.axmlrpc.xmlcreator.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
-
-
Constructor Summary
Constructors Constructor Description SimpleXMLCreator()
-
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.
-
-
-
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 classjava.lang.Object
- Returns:
- String representation of the xml tree.
-
-