Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members | Related Pages

Transform Class Reference

List of all members.

Static Public Member Functions

void appendEscapingTags (ostream &buf, const String &input)
void appendEscapingCDATA (ostream &buf, const String &input)

Detailed Description

Utility class for transforming strings.


Member Function Documentation

void appendEscapingCDATA ostream &  buf,
const String &  input
[static]
 

Ensures that embeded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text.

Parameters:
buf output stream holding the XML data to this point. The initial CDStart (<![CDATA[) and final CDEnd (]]>) of the CDATA section are the responsibility of the calling method.
input The String that is inserted into an existing CDATA Section within buf.

void appendEscapingTags ostream &  buf,
const String &  input
[static]
 

This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references.

Parameters:
buf output stream where to write the modified string.
input The text to be converted.
Returns:
The input string with the characters '<' and '>' replaced with &lt; and &gt; respectively.


The documentation for this class was generated from the following files:
Generated on Tue Jul 24 17:50:57 2007 for log4cxx by  doxygen 1.3.9.1