Yate
|
Xml Declaration. More...
#include <yatexml.h>
Public Member Functions | |
XmlText (const String &text) | |
XmlText (const XmlText &orig) | |
virtual | ~XmlText () |
const String & | getText () const |
void | setText (const char *text) |
void | toString (String &dump, bool escape=true, const String &indent=String::empty(), const String *auth=0, const XmlElement *parent=0) const |
virtual XmlText * | xmlText () |
bool | onlySpaces () |
Public Member Functions inherited from XmlChild | |
XmlChild () | |
virtual void | setParent (XmlParent *parent) |
virtual XmlElement * | xmlElement () |
virtual XmlComment * | xmlComment () |
virtual XmlCData * | xmlCData () |
virtual XmlDeclaration * | xmlDeclaration () |
virtual XmlDoctype * | xmlDoctype () |
Public Member Functions inherited from GenObject | |
GenObject () | |
virtual | ~GenObject () |
virtual bool | alive () const |
virtual void | destruct () |
virtual const String & | toString () const |
virtual void * | getObject (const String &name) const |
NamedCounter * | getObjCounter () const |
NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
Static Public Member Functions inherited from GenObject | |
static void * | getObject (const String &name, const GenObject *obj) |
static bool | getObjCounting () |
static void | setObjCounting (bool enable) |
static NamedCounter * | getObjCounter (const String &name, bool create=true) |
static ObjList & | getObjCounters () |
Xml Declaration.
A Xml Declaration for Xml document
|
virtual |
Destructor
|
inline |
bool onlySpaces | ( | ) |
Helper method to check if the text held by this XmlText contains only spaces
|
inline |
Set the text
text | Text to set in this XmlText |
void toString | ( | String & | dump, |
bool | escape = true , |
||
const String & | indent = String::empty() , |
||
const String * | auth = 0 , |
||
const XmlElement * | parent = 0 |
||
) | const |
Build a String from this XmlText
dump | The string where to append representation |
escape | True if the text need to be escaped |
indent | Spaces for output |
auth | Optional list of tag and attribute names to be replaced with '***'. This parameter can be used when the result will be printed to output to avoid printing authentication data to output. The array must end with an empty string |
parent | Optional parent element whose tag will be searched in the auth list |
|
inlinevirtual |