org.jvoicexml.interpreter.event
Class CatchEventStrategy

java.lang.Object
  extended by org.jvoicexml.interpreter.event.AbstractEventStrategy
      extended by org.jvoicexml.interpreter.event.CatchEventStrategy
All Implemented Interfaces:
XmlWritable

final class CatchEventStrategy
extends AbstractEventStrategy

Strategy to execute a user defined catch node.

Version:
$Revision: 1.2 $
Author:
Dirk Schnelle
See Also:

Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/


Constructor Summary
CatchEventStrategy(VoiceXmlInterpreterContext ctx, VoiceXmlInterpreter ip, FormInterpretationAlgorithm interpreter, AbstractFormItem formItem, VoiceXmlNode node, String type)
          Construct a new object.
 
Method Summary
(package private)  void process(JVoiceXMLEvent event)
          Process the event.
 
Methods inherited from class org.jvoicexml.interpreter.event.AbstractEventStrategy
getCount, getEventType, getFormInterpretationAlgorithm, getFormItem, getVoiceXmlInterpreter, getVoiceXmlInterpreterContext, getVoiceXmlNode, toString, writeChildrenXml, writeXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatchEventStrategy

public CatchEventStrategy(VoiceXmlInterpreterContext ctx,
                          VoiceXmlInterpreter ip,
                          FormInterpretationAlgorithm interpreter,
                          AbstractFormItem formItem,
                          VoiceXmlNode node,
                          String type)
Construct a new object.

Parameters:
ctx - The VoiceXML interpreter context.
ip - The VoiceXML interpreter.
interpreter - The FIA.
formItem - The current form item.
node - The node to execute.
type - The event type.
Method Detail

process

void process(JVoiceXMLEvent event)
       throws JVoiceXMLEvent
Process the event.

Specified by:
process in class AbstractEventStrategy
Parameters:
event - The caught event.
Throws:
JVoiceXMLEvent - Error or event processing the current tag.


Copyright © 2005 JVoiceXML group.