Utility class for transforming strings.
More...
#include <transform.h>
|
static void | appendEscapingTags (LogString &buf, const LogString &input) |
| Add input , which may contain HTML tags (ie, <b>, <table>, etc) to buf while replacing any '<' and '>' characters with respective predefined entity references.
|
|
static void | appendEscapingCDATA (LogString &buf, const LogString &input) |
| Add input to buf while ensuring embeded CDEnd strings (]]>) are handled properly within the message, NDC and throwable tag text.
|
|
Utility class for transforming strings.
◆ appendEscapingCDATA()
static void log4cxx::helpers::Transform::appendEscapingCDATA |
( |
LogString & |
buf, |
|
|
const LogString & |
input |
|
) |
| |
|
static |
Add input
to buf
while ensuring embeded CDEnd strings (]]>) are handled properly within the message, NDC and throwable tag text.
- Parameters
-
buf | output stream holding the XML data to this point. The initial CDStart () 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. |
◆ appendEscapingTags()
static void log4cxx::helpers::Transform::appendEscapingTags |
( |
LogString & |
buf, |
|
|
const LogString & |
input |
|
) |
| |
|
static |
Add input
, which may contain HTML tags (ie, <b>, <table>, etc) to buf
while replacing any '<' and '>' characters with respective predefined entity references.
- Parameters
-
buf | output stream where to write the modified string. |
input | The text to be converted. |
The documentation for this class was generated from the following file: