org.jvoicexml.event.plain.jvxml
Class RecognitionEvent

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.RecognitionEvent
All Implemented Interfaces:
Serializable

public class RecognitionEvent
extends PlainEvent

The user has responded within the timeout interval.

Version:
$Revision: 201 $

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

Author:
Dirk Schnelle
See Also:
Serialized Form

Field Summary
static String EVENT_TYPE
          The detail message.
 
Constructor Summary
RecognitionEvent(RecognitionResult recognitionResult)
          Constructs a new event with the event type as its detail message.
 
Method Summary
 String getEventType()
          Get the event type of this event.
 RecognitionResult getRecognitionResult()
          Retrieves the resultof the recognition process.
 
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

RecognitionEvent

public RecognitionEvent(RecognitionResult recognitionResult)
Constructs a new event with the event type as its detail message. The cause is not initialized.

Parameters:
recognitionResult - Result of the recognition process.
Method Detail

getEventType

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

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

getRecognitionResult

public final RecognitionResult getRecognitionResult()
Retrieves the resultof the recognition process.

Returns:
RecognitionResult


Copyright © 2005-2007 JVoiceXML group.