SpeechEventDispatcher, FreeTTSSpeakablepublic class FreeTTSSynthesizerQueueItem extends BaseSynthesizerQueueItem implements FreeTTSSpeakable
FreeTTSSynthesizer.
Extends the BaseSynthesizerQueueItem by allowing access to the DOM
document.itemNumber, synth, thisItemNumber| Constructor | Description |
|---|---|
FreeTTSSynthesizerQueueItem() |
Construct a queue item.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.w3c.dom.Document |
getDocument() |
Gets the DOM document for this object.
|
java.io.InputStream |
getInputStream() |
Gets the input stream
|
boolean |
isDocument() |
Returns
true if the item is a JSML document
(Java Speech Markup Language text). |
boolean |
isStream() |
Returns
true if the item is an input stream |
cancelled, completed, dispatchSpeechEvent, fireMarkerReached, fireSpeakableCancelled, fireSpeakableEnded, fireSpeakablePaused, fireSpeakableResumed, fireSpeakableStarted, fireTopOfQueue, fireWordStarted, getItemNumber, isCancelled, isCompleted, postMarkerReached, postSpeakableCancelled, postSpeakableEnded, postSpeakablePaused, postSpeakableResumed, postSpeakableStarted, postTopOfQueue, postWordStarted, setData, setData, setData, started, waitCompletedcancelled, completed, getText, isCompleted, isPlainText, started, waitCompletedpublic FreeTTSSynthesizerQueueItem()
public org.w3c.dom.Document getDocument()
getDocument in interface FreeTTSSpeakablegetDocument in class BaseSynthesizerQueueItempublic boolean isStream()
true if the item is an input streamisStream in interface FreeTTSSpeakable false public java.io.InputStream getInputStream()
getInputStream in interface FreeTTSSpeakablepublic boolean isDocument()
true if the item is a JSML document
(Java Speech Markup Language text).isDocument in interface FreeTTSSpeakable true if the item is a document;
otherwise, returns false