public enum Tag extends Enum<Tag>
Enum Constant and Description |
---|
CURRENCY |
DATETIME |
LOCATION |
MISC |
NONE |
ORGANIZATION |
PERSON |
QUANTITY |
RATIO |
Modifier and Type | Method and Description |
---|---|
static Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tag QUANTITY
public static final Tag DATETIME
public static final Tag CURRENCY
public static final Tag RATIO
public static final Tag PERSON
public static final Tag ORGANIZATION
public static final Tag LOCATION
public static final Tag MISC
public static final Tag NONE
public static Tag[] values()
for (Tag c : Tag.values()) System.out.println(c);
public static Tag 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 null