org.jvoicexml.event.plain.jvxml
Class InternalExitEvent

java.lang.Object
  extended by java.lang.Throwable
      extended by org.jvoicexml.event.JVoiceXMLEvent
          extended by org.jvoicexml.event.PlainEvent
              extended by org.jvoicexml.event.plain.jvxml.InternalExitEvent
All Implemented Interfaces:
Serializable

public final class InternalExitEvent
extends PlainEvent

The FIA processed a <exit> event.

Since:
0.3

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

Version:
$Revision: 201 $
Author:
Dirk Schnelle
See Also:
Serialized Form

Field Summary
static String EVENT_TYPE
          The detail message.
 
Constructor Summary
InternalExitEvent(Map<String,Object> mappings)
          Constructs a new object with the given namelist as return value.
InternalExitEvent(Object value)
          Constructs a new object with the given return value.
 
Method Summary
 String getEventType()
          Get the event type of this event.
 Object getReturnValue()
          Retrieves the return value.
 Map<String,Object> getVariables()
          Retrieves the variable names to be passed to the interpreter context.
 
Methods inherited from class org.jvoicexml.event.JVoiceXMLEvent
getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EVENT_TYPE

public static final String EVENT_TYPE
The detail message.

Constructor Detail

InternalExitEvent

public InternalExitEvent(Object value)
Constructs a new object with the given return value.

Parameters:
value - Return value.

InternalExitEvent

public InternalExitEvent(Map<String,Object> mappings)
Constructs a new object with the given namelist as return value.

Parameters:
mappings - Variable names to be returned to the interpreter.
Method Detail

getEventType

public String getEventType()
Get the event type of this event.

Specified by:
getEventType in class JVoiceXMLEvent
Returns:
Event type.

getReturnValue

public Object getReturnValue()
Retrieves the return value.

Returns:
Return value to be passed to the interpreter context.

getVariables

public Map<String,Object> getVariables()
Retrieves the variable names to be passed to the interpreter context.

Returns:
Variable names and their values.


Copyright © 2005-2007 JVoiceXML group.