Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skCDataNode Class Reference

This node represents a CData node in an XML document. More...

#include <skCDataNode.h>

Inheritance diagram for skCDataNode::

skTextNode skNode List of all members.

Public Methods

 skCDataNode (const skString &text)
 Constructs a new CData node with the given text. More...

virtual NodeType getNodeType () const
 Returns the type of this node. More...

virtual skNodeclone ()
 Returns a new CData node with the same text. More...

virtual void write (ostream &out) const
 writes the CData text in this node to the given stream. More...


Detailed Description

This node represents a CData node in an XML document.


Constructor & Destructor Documentation

skCDataNode::skCDataNode const skString   text
 

Constructs a new CData node with the given text.

Parameters:
text  - the text for the CData node


Member Function Documentation

skNode * skCDataNode::clone   [virtual]
 

Returns a new CData node with the same text.

Returns:
a new CData node that's a copy of this one

Reimplemented from skTextNode.

skNode::NodeType skCDataNode::getNodeType   const [virtual]
 

Returns the type of this node.

Returns:
returns CDATA_NODE

Reimplemented from skTextNode.

void skCDataNode::write ostream &    out const [virtual]
 

writes the CData text in this node to the given stream.

Parameters:
out  - the stream to write to

Reimplemented from skTextNode.


The documentation for this class was generated from the following files:
Generated on Tue Nov 20 17:56:22 2001 for Simkin by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001