|
Public Member Functions |
| | XmlDocument (XmlNode *rootNode) |
| | Constuctor creates a new XmlDocument and sets the root node.
|
| | XmlDocument (const String &xmlData) |
| | Creates a DOM tree from the string.
|
|
| XmlDocument () |
| | Default constuctor creates a new XmlDocument.
|
| void | xmlString (const String &xmlData) |
| | rebuild XMLNode from text given in xmlData.
|
| String | xmlString () |
| void | setRootNode (XmlNode *rootNode) |
| | Sets the root node.
|
|
XmlNode * | getRootNode () |
| String | getVersion () |
| void | setVersion (const String &version) |
|
String | getEncoding () |
| | Can return NULL_STRING if value not preressent.
|
| void | setEncoding (const String &encoding) |
| | Same as setAttribute("encoding", encoding);.
|
|
String | getStandalone () |
| | Can return NULL_STRING if value not preressent.
|
| void | setStandalone (const String &standalone) |
| | Same as setAttribute("standalone", standalone);.
|
| String | getAttribute (const String &attribute) |
| | Can return NULL_STRING if value not preressent.
|
| void | setAttribute (const String &attribute, const String &value) |
| | Creates a new if attributes don't exists else updates with new value.
|
|
bool | hasAttribute () |