Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::xml::Attr Class Reference

#include <XMLDocument.h>

Inheritance diagram for util::xml::Attr:

util::xml::Node util::Object List of all members.

Detailed Description

Attr class is used to store attributes in Element objects.

It is named 'Attr' (not 'Attribute') because that is the name in DOM 1.0 specification.


Public Methods

 Attr (std::string n, std::string v)
 Create an attribute with the given name and value.

std::string getName () const
 Get the name of this attribute.

void printOut (std::ostream &out) const throw (util::io::IOException&)
 Printing out an attribute does nothing, as Element prints its attributes in a special way.


Public Attributes

std::string name
 The name of the attribute.

std::string value
 The value of the attribute.


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.