rwlogo

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlXmlText Class Reference

Default implementation of XML texts. More...

#include <ilog/xml.h>

Inheritance diagram for IlXmlText:
IlXmlTextI IlXmlNodeI

Public Member Functions

virtual void appendText (const char *text)
 Appends text to the content. More...
 
virtual const char * getText () const
 Retrieves the text content. More...
 
virtual void storeText (char *)
 Sets the text content. More...
 
- Public Member Functions inherited from IlXmlTextI
virtual Type getType () const
 Retrieves the type of this element. More...
 
virtual void setText (const char *text)
 Sets the text content. More...
 
- Public Member Functions inherited from IlXmlNodeI
virtual ostream & write (ostream &stream) const =0
 Writes the XML code for this node. More...
 

Additional Inherited Members

- Public Types inherited from IlXmlNodeI
enum  Type {
  Attribute, Element, Text, Comment,
  CData, PI, CharRef, EntityRef
}
 The different types of XML nodes. More...
 

Detailed Description

Default implementation of XML texts.

Library: ilog

This class implements the interface IlXmlTextI to provide the basic functionality of an XML text node.

Member Function Documentation

virtual void IlXmlText::appendText ( const char *  text)
virtual

Appends text to the content.

Parameters
textThe text that is appended to the current content.

Implements IlXmlTextI.

virtual const char* IlXmlText::getText ( ) const
virtual

Retrieves the text content.

Returns
The comment content. The user must not modify or delete the returned string.

Implements IlXmlTextI.

virtual void IlXmlText::storeText ( char *  text)
virtual

Sets the text content.

Parameters
textThe new text of this node. This string is not copied before it is stored.

Implements IlXmlTextI.


© Copyright 2014, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.