Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::xml::Comment Class Reference

#include <XMLDocument.h>

Inheritance diagram for util::xml::Comment:

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

Detailed Description

A comment in the XML markup.

Note that a well-formed comment must not end with a '-'.


Public Methods

 Comment ()
 Create an empty comment.

 Comment (std::string str)
 Create a comment node with the given contents.

void printOut (std::ostream &out) const throw (util::io::IOException&)
 Print out the contents of this comment.


Member Function Documentation

void util::xml::Comment::printOut std::ostream &    out const throw (util::io::IOException&) [inline, virtual]
 

Print out the contents of this comment.

This method prints the start and end tags for a comment plus the contents in between.

Implements util::xml::Node.


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.