org.speakright.core.render
Class FormElement

java.lang.Object
  extended by org.speakright.core.render.FormElement
Direct Known Subclasses:
Disconnect, GotoUrl, Grammar, GrammarSet, Prompt, PromptSet, Question, RawContent, RecordAudio, Transfer

public class FormElement
extends java.lang.Object

Base class for anything we render on a form. We use StringTemplate for the low-level voicexml formatting, but still need form elements to represent important things on a speech page.

Author:
IanRaeLaptop

Constructor Summary
FormElement()
           
 
Method Summary
 void renderGrammars(GrammarPipeline pipeline)
          Render any grammars in this element using the pipeline.
 void renderPrompts(PromptPipeline pipeline)
          Render any prompts in this element using the pipeline.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormElement

public FormElement()
Method Detail

renderPrompts

public void renderPrompts(PromptPipeline pipeline)
Render any prompts in this element using the pipeline.

Parameters:
pipeline -

renderGrammars

public void renderGrammars(GrammarPipeline pipeline)
Render any grammars in this element using the pipeline.

Parameters:
pipeline -