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.
|
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
|
void executeAction(Dsmlv2Container container) throws org.xmlpull.v1.XmlPullParserException, IOException
container - the DSML containerorg.xmlpull.v1.XmlPullParserException - when an unrecoverable error occursIOException - when an IO error occursString getName()
Enum<Dsmlv2StatesEnum>[] getStatesEnum()
void setName(String name)
name - The grammar nameCopyright © 2021. All rights reserved.