|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.interpreter.grammar.JVoiceXmlGrammarRegistry
public final class JVoiceXmlGrammarRegistry
Implementation of a GrammarRegistry.
Copyright © 2005-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
JVoiceXmlGrammarRegistry(VoiceXmlInterpreterContext context)
Constructs a new object. |
|
| Method Summary | |
|---|---|
void |
addGrammar(GrammarImplementation<? extends Object> grammar)
Adds the given grammar to the list of known grammars. |
Collection<GrammarImplementation<? extends Object>> |
getGrammars()
Gets all registered grammars. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JVoiceXmlGrammarRegistry(VoiceXmlInterpreterContext context)
context - The current VoiceXML interpreter context.| Method Detail |
|---|
public void addGrammar(GrammarImplementation<? extends Object> grammar)
addGrammar in interface GrammarRegistrygrammar - grammar to add.public Collection<GrammarImplementation<? extends Object>> getGrammars()
getGrammars in interface GrammarRegistry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||