org.speakright.core.render
Class GrammarSet
java.lang.Object
org.speakright.core.render.FormElement
org.speakright.core.render.GrammarSet
- All Implemented Interfaces:
- java.io.Serializable
public class GrammarSet
- extends FormElement
- implements java.io.Serializable
A set of grammars to be used for a question. Can contain one of
each grammar type.
- Author:
- Ian Rae
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrammarSet
public GrammarSet()
add
public void add(Grammar Grammar)
addIf
public void addIf(boolean b,
Grammar Grammar)
find
public Grammar find(GrammarType type)
voiceGrammar
public Grammar voiceGrammar()
renderGrammars
public void renderGrammars(GrammarPipeline pipeline)
- Description copied from class:
FormElement
- Render any grammars in this element using the pipeline.
- Overrides:
renderGrammars in class FormElement
Grammars
public java.util.ArrayList<Grammar> Grammars()