public interface IGrammar
Modifier and Type | Method and Description |
---|---|
void |
executeAction(Dsmlv2Container container)
This method, when called, execute an action on the current data stored in
the container.
|
String |
getName()
Get the grammar name
|
IStates |
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
- Thrown when an unrecoverable error occurs.IOException
String getName()
IStates getStatesEnum()
void setName(String name)
name
- The grammar nameCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.