org.jvoicexml.interpreter.event
Class CatchEventStrategy
java.lang.Object
org.jvoicexml.interpreter.event.AbstractEventStrategy
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/
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.
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.