public final class XMLEntityCodec extends Object
StringEscapeUtils.escapeXml(String)
and
StringEscapeUtils.escapeHtml(String)
into a single pass.Modifier | Constructor and Description |
---|---|
protected |
XMLEntityCodec() |
Modifier and Type | Method and Description |
---|---|
static String |
decodeString(String str) |
static String |
encodeString(String str) |
static String |
entityName(int value)
Returns the name of the entity identified by the specified value.
|
static int |
entityValue(String name)
Returns the value of the entity identified by the specified name.
|
public static String entityName(int value)
Returns the name of the entity identified by the specified value.
value
- the value to locatepublic static int entityValue(String name)
Returns the value of the entity identified by the specified name.
name
- the name to locateCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.