Class to write xml files Sample on how you can write an xml file. More...
#include <SXmlWriter.h>
Public Slots | |
static SXmlWriter | New () |
Default constructor to instantiate a XmlWriter. More... | |
SetFile (SFile File) | |
Sets the current file to device. Setting the device resets reader. More... | |
String | toString () |
Get the type of the variable. More... | |
static String | toString () |
Get the type of the variable. More... | |
WriteAttribute (String qualifiedName, String value) | |
Writes an attribute with qualifiedName and value. This function can only be called after writeStartElement() before any content is written. More... | |
WriteEndDocument () | |
Closes all remaining open start elements and writes a newline. More... | |
WriteEndElement () | |
Closes the previous start element. More... | |
WriteStartDocument () | |
Writes a document start with XML version number "1.0". This also writes the encoding information. More... | |
WriteStartElement (String qualifiedName) | |
Writes a start element with qualifiedName. Subsequent calls to WriteAttribute() will add attributes to this element. More... | |
Public Slots inherited from SObject | |
Clear () | |
To deallocate memory of the object. More... | |
String | toString () |
Get the type of the variable. More... | |
Class to write xml files Sample on how you can write an xml file.
|
staticslot |
Default constructor to instantiate a XmlWriter.
|
slot |
Sets the current file to device. Setting the device resets reader.
|
slot |
Get the type of the variable.
|
staticslot |
Get the type of the variable.
|
slot |
Writes an attribute with qualifiedName and value. This function can only be called after writeStartElement() before any content is written.
|
slot |
Closes all remaining open start elements and writes a newline.
|
slot |
Closes the previous start element.
|
slot |
Writes a document start with XML version number "1.0". This also writes the encoding information.
|
slot |
Writes a start element with qualifiedName. Subsequent calls to WriteAttribute() will add attributes to this element.