#include <XMLDocument.h>
Inheritance diagram for util::xml::Declaration:

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. | |
|
|
The name of the declaration, i.e. the 'TAG' part in <!TAG>. |