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 occursEnum<Dsmlv2StatesEnum>[] getStatesEnum()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.