public static enum HTML.Entity extends java.lang.Enum<HTML.Entity>
Enum Constant and Description |
---|
AMPERSAND |
APOSTROPHE |
GRAVE_ACCENT |
GT |
LEFT_PAREN |
LT |
NBSP |
PERCENT |
QUOTE |
RIGHT_PAREN |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
encodedValue |
char |
unencodedCharValue |
java.lang.String |
unencodedStringValue |
Modifier and Type | Method and Description |
---|---|
static HTML.Entity |
getEntity(char character) |
java.lang.String |
toString() |
static HTML.Entity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HTML.Entity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTML.Entity GT
public static final HTML.Entity LT
public static final HTML.Entity NBSP
public static final HTML.Entity QUOTE
public static final HTML.Entity APOSTROPHE
public static final HTML.Entity LEFT_PAREN
public static final HTML.Entity RIGHT_PAREN
public static final HTML.Entity PERCENT
public static final HTML.Entity AMPERSAND
public static final HTML.Entity GRAVE_ACCENT
public final java.lang.String encodedValue
public final char unencodedCharValue
public final java.lang.String unencodedStringValue
public static HTML.Entity[] values()
for (HTML.Entity c : HTML.Entity.values()) System.out.println(c);
public static HTML.Entity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<HTML.Entity>
public static HTML.Entity getEntity(char character)