public enum AcceptType extends java.lang.Enum<AcceptType>
| Enum Constant and Description |
|---|
APPROXIMATE
If the accept attribute is "approximate", then the choice may be matched
when a user says a subphrase of the expression.
|
EXACT
If the accept attribute is "exact" then the user must say the entire
phrase in the same order in which they occur in the choice phrase.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType()
Retrieves the name of this accept type.
|
static AcceptType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AcceptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcceptType EXACT
public static final AcceptType APPROXIMATE
public static AcceptType[] values()
for (AcceptType c : AcceptType.values()) System.out.println(c);
public static AcceptType 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 getType()