public static enum Entities.EscapeMode extends Enum<Entities.EscapeMode>
Enum Constant and Description |
---|
base
Default HTML output entities.
|
extended
Complete HTML entities.
|
xhtml
Restricted entities suitable for XHTML output: lt, gt, amp, and quot only.
|
Modifier and Type | Field and Description |
---|---|
private int[] |
codeKeys |
private int[] |
codeVals |
private String[] |
nameKeys |
private String[] |
nameVals |
Modifier and Type | Method and Description |
---|---|
(package private) int |
codepointForName(String name) |
(package private) String |
nameForCodepoint(int codepoint) |
private int |
size() |
static Entities.EscapeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entities.EscapeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entities.EscapeMode xhtml
public static final Entities.EscapeMode base
public static final Entities.EscapeMode extended
public static Entities.EscapeMode[] values()
for (Entities.EscapeMode c : Entities.EscapeMode.values()) System.out.println(c);
public static Entities.EscapeMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullint codepointForName(String name)
String nameForCodepoint(int codepoint)
private int size()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses