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

Public Methods | |
| Document () | |
| Create a new document node. | |
| Document (Element *root) | |
| Create a new document node with the given root element. | |
| void | printOut (std::ostream &out) const throw (util::io::IOException&) |
| Print the contents of a node to a stream. | |
Public Attributes | |
| Element * | documentElement |
| A pointer to the root element of this document. | |
|
|
Print the contents of a node to a stream. The output of this method is well-formed XML. Calling the printOut method of a Document object produces a well-formed XML document. All other nodes produce a well-formed XML document fraction.
Implements util::xml::Node. |