|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GrammarType>
org.jvoicexml.xml.srgs.GrammarType
public enum GrammarType
Defintion of the type of the grammar.
Copyright © 2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Enum Constant Summary | |
|---|---|
JSGF
JSGF formatted grammar. |
|
SRGS_ABNF
SRGS grammar with ABNF format. |
|
SRGS_XML
SRGS grammar in XML format. |
|
| Method Summary | |
|---|---|
String |
getType()
Retrieves the name of this grammar type. |
static GrammarType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GrammarType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GrammarType JSGF
public static final GrammarType SRGS_ABNF
public static final GrammarType SRGS_XML
| Method Detail |
|---|
public static final GrammarType[] values()
for(GrammarType c : GrammarType.values())
System.out.println(c);
public static GrammarType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||