public enum InterpretAs extends java.lang.Enum<InterpretAs>
Enum Constant and Description |
---|
ADDRESS
Interpret a value as part of street address.
|
CARDINAL
Interpret the value as a cardinal number.
|
CHARACTERS
Spell out each letter.
|
DATE
Interpret the value as a date.
|
DIGITS
Spell each digit separately .
|
EXPLETIVE
"Bleep" out the content inside the tag.
|
FRACTION
Interpret the value as a fraction.
|
INTERJECTION
Interpret the value as an interjection.
|
NUMBER |
ORDINAL
Interpret the value as an ordinal number.
|
SPELL_OUT |
TELEPHONE
Interpret a value as a 7-digit or 10-digit telephone number.
|
TIME
Interpret a value such as 1'21" as duration in minutes and seconds.
|
UNIT
Interpret a value as a measurement.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static InterpretAs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InterpretAs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterpretAs CHARACTERS
public static final InterpretAs SPELL_OUT
public static final InterpretAs CARDINAL
public static final InterpretAs NUMBER
public static final InterpretAs ORDINAL
public static final InterpretAs DIGITS
public static final InterpretAs FRACTION
public static final InterpretAs UNIT
public static final InterpretAs DATE
public static final InterpretAs TIME
public static final InterpretAs TELEPHONE
public static final InterpretAs ADDRESS
public static final InterpretAs INTERJECTION
public static final InterpretAs EXPLETIVE
public static InterpretAs[] values()
for (InterpretAs c : InterpretAs.values()) System.out.println(c);
public static InterpretAs 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<InterpretAs>