Class EntityArrays
java.lang.Object
org.apache.commons.lang3.text.translate.EntityArrays
Deprecated.
As of 3.6, use Apache Commons Text
 
 EntityArrays instead
Class holding various entity data for HTML and XML - generally for use with
 the LookupTranslator.
 All arrays are of length [*][2].
- Since:
- 3.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic String[][]Deprecated.Mapping to escape the apostrophe character to its XML character entity.static String[][]Deprecated.Reverse ofAPOS_ESCAPE()for unescaping purposes.static String[][]Deprecated.Mapping to escape the basic XML and HTML character entities.static String[][]Deprecated.Reverse ofBASIC_ESCAPE()for unescaping purposes.static String[][]Deprecated.Mapping to escape additional character entity references.static String[][]Deprecated.Reverse ofHTML40_EXTENDED_ESCAPE()for unescaping purposes.static String[][]Deprecated.Used to invert an escape array into an unescape arraystatic String[][]Deprecated.Mapping to escape ISO-8859-1 characters to their named HTML 3.x equivalents.static String[][]Deprecated.Reverse ofISO8859_1_ESCAPE()for unescaping purposes.static String[][]Deprecated.Mapping to escape the Java control characters.static String[][]Deprecated.Reverse ofJAVA_CTRL_CHARS_ESCAPE()for unescaping purposes.
- 
Constructor Details- 
EntityArraysDeprecated.Will be removed in 4.0.0.Constructs a new instance.
 
- 
- 
Method Details- 
APOS_ESCAPEDeprecated.Mapping to escape the apostrophe character to its XML character entity.- Returns:
- the mapping table
 
- 
APOS_UNESCAPEDeprecated.Reverse ofAPOS_ESCAPE()for unescaping purposes.- Returns:
- the mapping table
 
- 
BASIC_ESCAPEDeprecated.Mapping to escape the basic XML and HTML character entities. Namely:" & < >- Returns:
- the mapping table
 
- 
BASIC_UNESCAPEDeprecated.Reverse ofBASIC_ESCAPE()for unescaping purposes.- Returns:
- the mapping table
 
- 
HTML40_EXTENDED_ESCAPEDeprecated.Mapping to escape additional character entity references. Note that this must be used withISO8859_1_ESCAPE()to get the full list of HTML 4.0 character entities.- Returns:
- the mapping table
 
- 
HTML40_EXTENDED_UNESCAPEDeprecated.Reverse ofHTML40_EXTENDED_ESCAPE()for unescaping purposes.- Returns:
- the mapping table
 
- 
invertDeprecated.Used to invert an escape array into an unescape array- Parameters:
- array- String[][] to be inverted
- Returns:
- String[][] inverted array
 
- 
ISO8859_1_ESCAPEDeprecated.Mapping to escape ISO-8859-1 characters to their named HTML 3.x equivalents.- Returns:
- the mapping table
 
- 
ISO8859_1_UNESCAPEDeprecated.Reverse ofISO8859_1_ESCAPE()for unescaping purposes.- Returns:
- the mapping table
 
- 
JAVA_CTRL_CHARS_ESCAPEDeprecated.Mapping to escape the Java control characters. Namely:\b \n \t \f \r- Returns:
- the mapping table
 
- 
JAVA_CTRL_CHARS_UNESCAPEDeprecated.Reverse ofJAVA_CTRL_CHARS_ESCAPE()for unescaping purposes.- Returns:
- the mapping table
 
 
-