public interface ChoiceConverter
<choice> node into a grammar.
The choice converter can be used to add support for custom grammars to the
implicitly generated grammars of a <menu>. Custom grammars
are obtained from a ConvertedChoiceOption.
| Modifier and Type | Method and Description |
|---|---|
ConvertedChoiceOption |
convertChoice(org.jvoicexml.xml.vxml.Choice choice,
org.jvoicexml.xml.srgs.ModeType mode,
ConvertedChoiceOption converted)
Converts the given choice into a grammar.
|
ConvertedChoiceOption convertChoice(org.jvoicexml.xml.vxml.Choice choice, org.jvoicexml.xml.srgs.ModeType mode, ConvertedChoiceOption converted)
choice - the choice to convertmode - the mode typeconverted - a prefilled converted choice