public interface Grammar
| Modifier and Type | Method and Description |
|---|---|
void |
executeAction(Dsmlv2Container container)
This method, when called, executes an action on the current data stored in
the container.
|
java.lang.String |
getName()
Get the grammar name
|
java.lang.Enum<Dsmlv2StatesEnum>[] |
getStatesEnum()
Get the statesEnum for the current grammar
|
void |
setName(java.lang.String name)
Set the grammar's name
|
void executeAction(Dsmlv2Container container) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
container - the DSML containerorg.xmlpull.v1.XmlPullParserException - when an unrecoverable error occursjava.io.IOException - when an IO error occursjava.lang.String getName()
java.lang.Enum<Dsmlv2StatesEnum>[] getStatesEnum()
void setName(java.lang.String name)
name - The grammar name