rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlXmlTextI Class Referenceabstract

Interface for XML texts. More...

#include <ilog/xml.h>

Inheritance diagram for IlXmlTextI:
IlXmlNodeI IlXmlText

Public Member Functions

virtual void appendText (const char *text)=0
 Appends text to the content. More...
 
virtual const char * getText () const =0
 Retrieves the text content. More...
 
virtual Type getType () const
 Retrieves the type of this element. More...
 
virtual void setText (const char *text)
 Sets the text content. More...
 
virtual void storeText (char *text)=0
 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

Interface for XML texts.

Library: ilog

This class is an interface that describes an XML text node.

Member Function Documentation

virtual void IlXmlTextI::appendText ( const char *  text)
pure virtual

Appends text to the content.

Parameters
textThe text that is appended to the current content.

Implemented in IlXmlText.

virtual const char* IlXmlTextI::getText ( ) const
pure virtual

Retrieves the text content.

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

Implemented in IlXmlText.

virtual Type IlXmlTextI::getType ( ) const
virtual

Retrieves the type of this element.

Returns
The type of this element.

Implements IlXmlNodeI.

virtual void IlXmlTextI::setText ( const char *  text)
virtual

Sets the text content.

Parameters
textThe new text of this node. The default implementation calls storeText with a copy of the string text.
virtual void IlXmlTextI::storeText ( char *  text)
pure virtual

Sets the text content.

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

Implemented in IlXmlText.


© Copyright 2012, 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.