public interface OptionConverter
<option> nodes into a grammar.| Modifier and Type | Method and Description |
|---|---|
org.jvoicexml.xml.srgs.Grammar |
createDtmfGrammar(java.util.Collection<org.jvoicexml.xml.vxml.Option> options)
Creates a DTMF grammar from the given options.
|
org.jvoicexml.xml.srgs.Grammar |
createVoiceGrammar(java.util.Collection<org.jvoicexml.xml.vxml.Option> options,
java.util.Locale language)
Creates a voice grammar from the given options.
|
org.jvoicexml.xml.srgs.Grammar createVoiceGrammar(java.util.Collection<org.jvoicexml.xml.vxml.Option> options,
java.util.Locale language)
options - the options to transfer into a voice grammarlanguage - the language to usenull if there is no voice grammar.org.jvoicexml.xml.srgs.Grammar createDtmfGrammar(java.util.Collection<org.jvoicexml.xml.vxml.Option> options)
options - the options to transfer into a DTMF grammarnull if there is no DTMF grammar.