|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.speech.synthesis.SynthesizerQueueItem com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem com.sun.speech.freetts.jsapi.FreeTTSSynthesizerQueueItem
Represents an object on the speech output queue of a
FreeTTSSynthesizer
.
Extends the BaseSynthesizerQueueItem by allowing access to the DOM
document.
Field Summary |
Fields inherited from class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem |
itemNumber, synth, thisItemNumber |
Fields inherited from class javax.speech.synthesis.SynthesizerQueueItem |
listener, plainText, source, text |
Constructor Summary | |
FreeTTSSynthesizerQueueItem()
Construct a queue item. |
Method Summary | |
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 |
Methods inherited from class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem |
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 |
Methods inherited from class javax.speech.synthesis.SynthesizerQueueItem |
getSource, getSpeakableListener, getText, isPlainText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.speech.freetts.FreeTTSSpeakable |
cancelled, completed, getText, isCompleted, isPlainText, started, waitCompleted |
Constructor Detail |
public FreeTTSSynthesizerQueueItem()
Method Detail |
public org.w3c.dom.Document getDocument()
getDocument
in interface FreeTTSSpeakable
getDocument
in class BaseSynthesizerQueueItem
public boolean isStream()
true
if the item is an input stream
isStream
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |