class XmlText

Xml Declaration. More...

Full nameTelEngine::XmlText
Definition#include <libs/yxml/yatexml.h>
InheritsTelEngine::XmlChild [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

A Xml Declaration for Xml document

 XmlText (const String& text)

XmlText

Constructor

Parameters:
textThe text

 XmlText (const XmlText& orig)

XmlText

Copy constructor

Parameters:
origOriginal XmlText

 ~XmlText ()

~XmlText

[virtual]

Destructor

inline const String&  getText ()

getText

[const]

Returns: The text kept by this Xml Text

inline void  setText (const char* text)

setText

Set the text

Parameters:
textText 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)

toString

[const]

Build a String from this XmlText

Parameters:
dumpThe string where to append representation
escapeTrue if the text need to be escaped
indentSpaces for output
authOptional 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
parentOptional parent element whose tag will be searched in the auth list

Reimplemented from GenObject.

XmlText*  xmlText ()

xmlText

[virtual]

Get the Xml text

Returns: This object

Reimplemented from XmlChild.

bool  onlySpaces ()

onlySpaces

Helper method to check if the text held by this XmlText contains only spaces

Returns: False if the text contains non space characters.


Generated by: paulc on bussard on Sun Oct 20 21:06:06 2013, using kdoc 2.0a54.