| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final int | |
| private static final String | |
| private static final String | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | appendEscapingCDATA(StringBuilder
Writer. The initial CDStart (<![CDATA[) and final CDEnd
(]]>) of the CDATA section are the responsibility of the
calling method. output, String The String that is inserted into an existing CDATA Section. str)Ensures that embedded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text. |
| public static String | escapeTags(final String
The text to be converted. input)This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<','>' ... |
| public static String | escapeTags(final StringBuffer
StringBuffer to transform buf)This method takes a StringBuilder which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references. |
| CDATA_EMBEDED_END | back to summary |
|---|---|
| private static final String CDATA_EMBEDED_END | |
| CDATA_END | back to summary |
|---|---|
| private static final String CDATA_END | |
| CDATA_END_LEN | back to summary |
|---|---|
| private static final int CDATA_END_LEN | |
| CDATA_PSEUDO_END | back to summary |
|---|---|
| private static final String CDATA_PSEUDO_END | |
| CDATA_START | back to summary |
|---|---|
| private static final String CDATA_START | |
| UNSAFE_XML_CHARS | back to summary |
|---|---|
| private static final Pattern UNSAFE_XML_CHARS | |
| Transform | back to summary |
|---|---|
| public Transform() | |
| appendEscapingCDATA | back to summary |
|---|---|
| public static void appendEscapingCDATA(StringBuilder output, String str) Ensures that embedded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text.
| |
| escapeTags | back to summary |
|---|---|
| public static String escapeTags(final String input) This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<','>' ... characters with respective predefined entity references.
| |
| escapeTags | back to summary |
|---|---|
| public static String escapeTags(final StringBuffer buf) This method takes a StringBuilder which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references.
| |