Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::xml::Declaration Class Reference

#include <XMLDocument.h>

Inheritance diagram for util::xml::Declaration:

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

Detailed Description

Processing instruction represents a tag starting with '<!' in the XML markup.

This class diverges from DOM 1.0 specification as no corresponding class exists in the specs.


Public Methods

 Declaration (std::string n)
 Create a declaration node with the given name.

 Declaration (std::string n, std::string str)
 Create a declaration node with the given name and contents.

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

void printOut (std::ostream &out) const throw (util::io::IOException&)
 Print out the contents of a processing instruction.


Public Attributes

std::string name
 The name of the declaration, i.e.

std::string contents
 The rest of the declaration.


Member Data Documentation

std::string util::xml::Declaration::name
 

The name of the declaration, i.e.

the 'TAG' part in <!TAG>.


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.