Main Page   Class Hierarchy   Compound List   File List   Compound Members  

EmptyTag Class Reference

an empty XML Tag. More...

#include <EmptyTag.h>

Inheritance diagram for EmptyTag:

Inheritance graph
[legend]
Collaboration diagram for EmptyTag:

Collaboration graph
[legend]
List of all members.

Public Methods

 EmptyTag (const string &name="EmptyTag", const StringMap &attributes=StringMap())
 constructor. More...

virtual string ToString () const
 convert to a string. More...


Protected Methods

void Init (const string &name, const StringMap &attributes)
 initialize the tag's name and attributes.


Detailed Description

an empty XML Tag.

an abstraction of <EmptyTag foo="bar"/>


Constructor & Destructor Documentation

EmptyTag::EmptyTag ( const string & name = "EmptyTag",
const StringMap & attributes = StringMap() )
 

constructor.

given a name and attributes, create a new tag


Member Function Documentation

string EmptyTag::ToString ( ) const [virtual]
 

convert to a string.

from the Writeable interface

Reimplemented from StartTag.

Reimplemented in ProcessingInstruction, and SpecialTag.


The documentation for this class was generated from the following file:
Generated at Wed May 2 00:21:06 2001 for libXMLement by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001