Apache log4cxx
Version 0.11.0
|
Utility class for transforming strings. More...
Static Public Member Functions | |
static void | appendEscapingTags (LogString &buf, const LogString &input) |
This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references. More... | |
static void | appendEscapingCDATA (LogString &buf, const LogString &input) |
Ensures that embeded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text. More... | |
Utility class for transforming strings.
Ensures that embeded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text.
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. |
This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references.
buf | output stream where to write the modified string. |
input | The text to be converted. |