Om
1.0.0
A universal framework for multimedia simulation
|
#include <omXMLDocument.h>
Public Member Functions | |
XMLDocument (const Shared< XMLNode > &newRoot) | |
Create a new XML document which uses the specified node as its root node. More... | |
const Shared< XMLNode > & | getRoot () const |
Return a pointer to the root node for this document. More... | |
void | setRoot (const Shared< XMLNode > &newRoot) |
Set the root node for this XML document. More... | |
UTF8String | toString () const |
Convert this XML document to a valid XML document string. More... | |
Create a new XML document which uses the specified node as its root node.
Return a pointer to the root node for this document.
Set the root node for this XML document.
This method completely replaces the current contents of the document with the XML node hierarchy specified by the given root node.
UTF8String om::xml::XMLDocument::toString | ( | ) | const |
Convert this XML document to a valid XML document string.