|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents something that should be spoken.
Method Summary | |
void |
cancelled()
Indicates that this speakable has been cancelled. |
void |
completed()
Indicates that this speakable has been completed. |
org.w3c.dom.Document |
getDocument()
Gets the DOM document for this object. |
java.io.InputStream |
getInputStream()
Gets the input stream |
java.lang.String |
getText()
Returns the text corresponding to this Playable. |
boolean |
isCompleted()
Returns true if this queue item has been
processed. |
boolean |
isDocument()
Returns true if the item is a JSML document
(Java Speech Markup Language). |
boolean |
isPlainText()
Returns true if the item contains plain text
(not Java Speech Markup Language text). |
boolean |
isStream()
Returns true if the item is an input stream. |
void |
started()
Indicates that this speakable has been started. |
boolean |
waitCompleted()
Waits for this speakable item to be completed. |
Method Detail |
public void started()
public void completed()
public void cancelled()
public boolean isCompleted()
true
if this queue item has been
processed.
public boolean waitCompleted()
public boolean isPlainText()
true
if the item contains plain text
(not Java Speech Markup Language text).
public boolean isStream()
true
if the item is an input stream.
public boolean isDocument()
true
if the item is a JSML document
(Java Speech Markup Language).
public java.lang.String getText()
public org.w3c.dom.Document getDocument()
public java.io.InputStream getInputStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |