org.jvoicexml.implementation
Class OutputUpdateEvent

java.lang.Object
  extended by org.jvoicexml.implementation.SynthesizedOutputEvent
      extended by org.jvoicexml.implementation.OutputUpdateEvent

public final class OutputUpdateEvent
extends SynthesizedOutputEvent

Notification that the output of a SpeakableText has been updated.

This happens if the synthesizer converted the speakable into phonemes.

Since:
0.7.1
Version:
$Revision: 2694 $
Author:
Dirk Schnelle-Walka

Field Summary
 
Fields inherited from class org.jvoicexml.implementation.SynthesizedOutputEvent
MARKER_REACHED, OUTPUT_ENDED, OUTPUT_STARTED, OUTPUT_UPDATE, QUEUE_EMPTY
 
Constructor Summary
OutputUpdateEvent(ObservableSynthesizedOutput output, String sessionId, SynthesisResult synthesisResult)
          Constructs a new object.
 
Method Summary
 SynthesisResult getSynthesisResult()
          Retrieves the synthesis result.
 
Methods inherited from class org.jvoicexml.implementation.SynthesizedOutputEvent
getEvent, getSessionId, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputUpdateEvent

public OutputUpdateEvent(ObservableSynthesizedOutput output,
                         String sessionId,
                         SynthesisResult synthesisResult)
Constructs a new object.

Parameters:
output - object that caused the event.
sessionId - the session id
synthesisResult - the result of speech synthesis.
Method Detail

getSynthesisResult

public SynthesisResult getSynthesisResult()
Retrieves the synthesis result.

Returns:
the synthesis result


Copyright © 2005-2010JVoiceXML group.