Yate
Public Member Functions
XmlText Class Reference

Xml Declaration. More...

#include <yatexml.h>

Inheritance diagram for XmlText:
XmlChild GenObject

List of all members.

Public Member Functions

 XmlText (const String &text)
 XmlText (const XmlText &orig)
virtual ~XmlText ()
const String & getText () const
void toString (String &dump, bool escape=true, const String &indent=String::empty(), const String *auth=0, const XmlElement *parent=0) const
virtual XmlText * xmlText ()

Detailed Description

Xml Declaration.

A Xml Declaration for Xml document


Constructor & Destructor Documentation

XmlText ( const String &  text)

Constructor

Parameters:
textThe text
XmlText ( const XmlText &  orig)

Copy constructor

Parameters:
origOriginal XmlText
virtual ~XmlText ( ) [virtual]

Destructor


Member Function Documentation

const String& getText ( ) const [inline]
Returns:
The text kept by this Xml Text
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

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
virtual XmlText* xmlText ( ) [inline, virtual]

Get the Xml text

Returns:
This object

Reimplemented from XmlChild.


The documentation for this class was generated from the following file: