SpeechEventDispatcher
, FreeTTSSpeakable
public 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, waitCompleted
cancelled, completed, getText, isCompleted, isPlainText, started, waitCompleted
public FreeTTSSynthesizerQueueItem()
public org.w3c.dom.Document getDocument()
getDocument
in interface FreeTTSSpeakable
getDocument
in class BaseSynthesizerQueueItem
public boolean isStream()
true
if the item is an input streamisStream
in interface FreeTTSSpeakable
false
public java.io.InputStream getInputStream()
getInputStream
in interface FreeTTSSpeakable
public 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