Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Interface for XML texts. More...
#include <ilog/xml.h>
Public Member Functions | |
virtual void | appendText (const char *text)=0 |
Appends text to the content. | |
virtual const char * | getText () const =0 |
Retrieves the text content. | |
virtual Type | getType () const |
Retrieves the type of this element. | |
virtual void | setText (const char *text) |
Sets the text content. | |
virtual void | storeText (char *text)=0 |
Sets the text content. | |
virtual ostream & | write (ostream &) const |
Writes the XML code for this node. |
Interface for XML texts.
Library: ilog
This class is an interface that describes an XML text node.
virtual void IlXmlTextI::appendText | ( | const char * | text | ) | [pure virtual] |
Appends text to the content.
text | The text that is appended to the current content. |
Implemented in IlXmlText.
virtual const char* IlXmlTextI::getText | ( | ) | const [pure virtual] |
Retrieves the text content.
Implemented in IlXmlText.
virtual Type IlXmlTextI::getType | ( | ) | const [virtual] |
virtual void IlXmlTextI::setText | ( | const char * | text | ) | [virtual] |
Sets the text content.
text | The 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.
text | The new text of this node. This string is not copied before it is stored. |
Implemented in IlXmlText.
virtual ostream& IlXmlTextI::write | ( | ostream & | stream | ) | const [virtual] |
Writes the XML code for this node.
Each subclass of this class implements its own version of write
, depending on its type.
stream | The output stream where the XML code will be sent. |
Implements IlXmlNodeI.
© 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.