org.jvoicexml
Interface SpeakableText

All Known Implementing Classes:
SpeakablePlainText, SpeakableSsmlText

public interface SpeakableText

Objects that implement this interface contain some text, that is passed to the TTS engine.

Since:
0.4
Version:
$Revision: 2129 $
Author:
Dirk Schnelle-Walka

Method Summary
 SpeakableText appendSpeakableText(String text)
          Appends the given text to this speakable.
 String getSpeakableText()
          Retrieves the text to be passed to the TTS Engine.
 boolean isBargeInEnabled()
          Checks is barge-in is enabled for this speakable.
 boolean isSpeakableTextEmpty()
          Checks if this speakable contains any text to be passed to the TTS engine.
 

Method Detail

appendSpeakableText

SpeakableText appendSpeakableText(String text)
Appends the given text to this speakable.

Parameters:
text - Text to be appended.
Returns:
This object.

getSpeakableText

String getSpeakableText()
Retrieves the text to be passed to the TTS Engine.

Returns:
Text to be spoken.

isSpeakableTextEmpty

boolean isSpeakableTextEmpty()
Checks if this speakable contains any text to be passed to the TTS engine.

Returns:
true if this speakable contains text.

isBargeInEnabled

boolean isBargeInEnabled()
Checks is barge-in is enabled for this speakable.

Returns:
true if barge-in is enabled.
Since:
0.7.1


Copyright © 2005-2010JVoiceXML group.