|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.implementation.jsapi10.speakstrategy.TextSpeakStrategy
public final class TextSpeakStrategy
SSML strategy to play back a text node.
Copyright © 2006 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
TextSpeakStrategy()
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
speak(AudioOutput audioOutput,
DocumentServer documentServer,
SsmlNode node)
Speaks the given node. |
protected void |
speakChildNodes(AudioOutput audioOutput,
DocumentServer documentServer,
SsmlNode node)
Calls the speak method for all child nodes of the given node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextSpeakStrategy()
| Method Detail |
|---|
public void speak(AudioOutput audioOutput,
DocumentServer documentServer,
SsmlNode node)
throws NoresourceError,
BadFetchError
audioOutput - The synthesizer to use.documentServer - The document server to acqure further documents,
i.e. for the <audio> tag to
retrieve the audio file to play.node - The node to speak.
NoresourceError - No recognizer allocated.
BadFetchError - Recognizer in wrong state.
protected void speakChildNodes(AudioOutput audioOutput,
DocumentServer documentServer,
SsmlNode node)
throws NoresourceError,
BadFetchError
audioOutput - The system output to use.documentServer - The document server.node - The current node.
NoresourceError - No recognizer allocated.
BadFetchError - Recognizer in wrong state.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||