|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Grammar
The interface which expose common behavior of a Grammar implementer.
| Method Summary | |
|---|---|
void |
executeAction(Dsmlv2Container container)
This method, when called, executes an action on the current data stored in the container. |
String |
getName()
Get the grammar name |
Enum<Dsmlv2StatesEnum>[] |
getStatesEnum()
Get the statesEnum for the current grammar |
void |
setName(String name)
Set the grammar's name |
| Method Detail |
|---|
void executeAction(Dsmlv2Container container)
throws org.xmlpull.v1.XmlPullParserException,
IOException
container - the DSML container
org.xmlpull.v1.XmlPullParserException - when an unrecoverable error occurs
IOException - when an IO error occursString getName()
Enum<Dsmlv2StatesEnum>[] getStatesEnum()
void setName(String name)
name - The grammar name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||