org.speakright.core.render
Class GrammarPipeline

java.lang.Object
  extended by org.speakright.core.render.GrammarPipeline

public class GrammarPipeline
extends java.lang.Object

Manages all the steps in converting a SpeakRight notion of a grammar into a VoiceXML notion of a grammar. Currently the steps are to apply any grammar condition and then make URLs into absolute urls.

Author:
IanRaeLaptop

Constructor Summary
GrammarPipeline(RenderContext rcontext)
           
 
Method Summary
 boolean failed(SRError parent)
           
 void render(Grammar grammar)
          step 1.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrammarPipeline

public GrammarPipeline(RenderContext rcontext)
Method Detail

failed

public boolean failed(SRError parent)

render

public void render(Grammar grammar)
step 1. check condition and don't render this grammar if condition is false step 2. add any model bindings step 3. create inline or builtin grammars step 4. resolve urls into full urls

Parameters:
grammar -