Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::xml::Text Class Reference

#include <XMLDocument.h>

Inheritance diagram for util::xml::Text:

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

Detailed Description

A section of text in the XML markup.


Public Methods

 Text ()
 Create an empty text node.

 Text (std::string str)
 Create a text node with the given contents.


Protected Methods

 Text (NodeType type)
 Some subclasses need to override the default type (TEXT_NODE).

 Text (std::string str, NodeType type)
 Some subclasses need to override the default type (TEXT_NODE).

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


Member Function Documentation

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

Print out the contents of this string section.

This method automatically converts special characters to XML entities.

Implements util::xml::Node.

Reimplemented in util::xml::CDATASection.


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