public class FreeTTSSynthesizerQueueItem extends BaseSynthesizerQueueItem implements FreeTTSSpeakable
FreeTTSSynthesizer
.
Extends the BaseSynthesizerQueueItem by allowing access to the DOM
document.Constructor and Description |
---|
FreeTTSSynthesizerQueueItem()
Construct a queue item.
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Gets the DOM document for this object.
|
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelled, completed, getText, isCompleted, isPlainText, started, waitCompleted
public FreeTTSSynthesizerQueueItem()
public Document getDocument()
getDocument
in interface FreeTTSSpeakable
public boolean isStream()
true
if the item is an input streamisStream
in interface FreeTTSSpeakable
false
public 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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses