|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.implementation.SpeakableSsmlText
public final class SpeakableSsmlText
Text to be passed to the TTS engine. This text may contain SSML markups, as defined in http://www.w3.org/TR/2003/CR-speech-synthesis-20031218/.
Copyright © 2006 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
SpeakableSsmlText(SsmlDocument doc)
Constructs a new object. |
|
| Method Summary | |
|---|---|
SpeakableText |
appendSpeakableText(String str)
Appends the given text to this speakable. |
SsmlDocument |
getDocument()
Retrieves the SSML document to speak. |
String |
getSpeakableText()
Retrieves the text to be passed to the TTS Engine. |
boolean |
isSpeakableTextEmpty()
Checks if this speakable contains any text to be passed to the TTS engine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpeakableSsmlText(SsmlDocument doc)
doc - The SSML document to speak.| Method Detail |
|---|
public String getSpeakableText()
getSpeakableText in interface SpeakableTextpublic SsmlDocument getDocument()
public SpeakableText appendSpeakableText(String str)
appendSpeakableText in interface SpeakableTextstr - Text to be appended.
public boolean isSpeakableTextEmpty()
isSpeakableTextEmpty in interface SpeakableTexttrue if this speakable contains text.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||