|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.lang3.text.translate.EntityArrays
public class EntityArrays
Class holding various entity data for HTML and XML - generally for use with the LookupTranslator. All arrays are of length [*][2].
Constructor Summary | |
---|---|
EntityArrays()
|
Method Summary | |
---|---|
static String[][] |
APOS_ESCAPE()
Mapping to escape the apostrophe character to its XML character entity. |
static String[][] |
APOS_UNESCAPE()
Reverse of APOS_ESCAPE() for unescaping purposes. |
static String[][] |
BASIC_ESCAPE()
Mapping to escape the basic XML and HTML character entities. |
static String[][] |
BASIC_UNESCAPE()
Reverse of BASIC_ESCAPE() for unescaping purposes. |
static String[][] |
HTML40_EXTENDED_ESCAPE()
Mapping to escape additional character entity references. |
static String[][] |
HTML40_EXTENDED_UNESCAPE()
Reverse of HTML40_EXTENDED_ESCAPE() for unescaping purposes. |
static String[][] |
invert(String[][] array)
Used to invert an escape array into an unescape array |
static String[][] |
ISO8859_1_ESCAPE()
Mapping to escape ISO-8859-1 characters to their named HTML 3.x equivalents. |
static String[][] |
ISO8859_1_UNESCAPE()
Reverse of ISO8859_1_ESCAPE() for unescaping purposes. |
static String[][] |
JAVA_CTRL_CHARS_ESCAPE()
Mapping to escape the Java control characters. |
static String[][] |
JAVA_CTRL_CHARS_UNESCAPE()
Reverse of JAVA_CTRL_CHARS_ESCAPE() for unescaping purposes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityArrays()
Method Detail |
---|
public static String[][] ISO8859_1_ESCAPE()
public static String[][] ISO8859_1_UNESCAPE()
ISO8859_1_ESCAPE()
for unescaping purposes.
public static String[][] HTML40_EXTENDED_ESCAPE()
ISO8859_1_ESCAPE()
to get the full list of
HTML 4.0 character entities.
public static String[][] HTML40_EXTENDED_UNESCAPE()
HTML40_EXTENDED_ESCAPE()
for unescaping purposes.
public static String[][] BASIC_ESCAPE()
" & < >
public static String[][] BASIC_UNESCAPE()
BASIC_ESCAPE()
for unescaping purposes.
public static String[][] APOS_ESCAPE()
public static String[][] APOS_UNESCAPE()
APOS_ESCAPE()
for unescaping purposes.
public static String[][] JAVA_CTRL_CHARS_ESCAPE()
\b \n \t \f \r
public static String[][] JAVA_CTRL_CHARS_UNESCAPE()
JAVA_CTRL_CHARS_ESCAPE()
for unescaping purposes.
public static String[][] invert(String[][] array)
array
- String[][] to be inverted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |