|
||||||||||
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.engine.synthesis.text.TextSynthesizerQueueItem
Represents an object on the speech output queue of a
TextSynthesizer
.
Field Summary | |
static java.lang.String |
BREAK
|
static java.lang.String[] |
BREAK_ATTRIBUTES
|
static java.lang.String |
COMMAND_PREFIX
|
static java.lang.String |
COMMAND_SUFFIX
|
static java.lang.String |
DATA_PREFIX
|
static java.lang.String |
DATA_SUFFIX
|
static java.lang.String |
DIV
|
static java.lang.String[] |
DIV_ATTRIBUTES
|
static java.lang.String[][] |
ELEMENT_ATTRIBUTES
|
static java.lang.String |
ELEMENT_END
|
static java.lang.String |
ELEMENT_START
|
static java.lang.String[] |
ELEMENTS
|
static java.lang.String |
EMPHASIS
|
static java.lang.String[] |
EMPHASIS_ATTRIBUTES
|
static java.lang.String |
ENGINE
|
static java.lang.String[] |
ENGINE_ATTRIBUTES
|
static java.lang.String |
JSML
|
static java.lang.String[] |
JSML_ATTRIBUTES
|
static java.lang.String |
MARKER
|
static java.lang.String[] |
MARKER_ATTRIBUTES
|
static java.lang.String |
PHONEME
|
static java.lang.String[] |
PHONEME_ATTRIBUTES
|
static java.lang.String |
PROSODY
|
static java.lang.String[] |
PROSODY_ATTRIBUTES
|
static java.lang.String |
SAYAS
|
static java.lang.String[] |
SAYAS_ATTRIBUTES
|
static java.lang.String |
VOICE
|
static java.lang.String[] |
VOICE_ATTRIBUTES
|
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 | |
TextSynthesizerQueueItem()
Class constructor. |
Method Summary | |
java.lang.String |
getEngineText()
Gets the text form of this queue item. |
java.lang.String |
getTypeString()
Gets the type of this queue item. |
protected void |
linearize(org.w3c.dom.Node n,
java.lang.StringBuffer buf)
Appends the text for this node to the given StringBuffer. |
protected java.lang.StringBuffer |
processAttributes(org.w3c.dom.Element element,
java.lang.String[] attributes)
Gets the list of attributes of the element and returns them in a StringBuffer . |
protected java.lang.StringBuffer |
processElement(org.w3c.dom.Element element,
java.lang.StringBuffer buf)
Adds any commands for this element and returns any text that might be needed to undo the effects of this element after it is processed. |
protected java.lang.StringBuffer |
processNode(org.w3c.dom.Node n,
java.lang.StringBuffer buf)
Adds text for just this node, and returns any text that might be needed to undo the effects of this node after it is processed. |
Methods inherited from class com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem |
cancelled, completed, dispatchSpeechEvent, fireMarkerReached, fireSpeakableCancelled, fireSpeakableEnded, fireSpeakablePaused, fireSpeakableResumed, fireSpeakableStarted, fireTopOfQueue, fireWordStarted, getDocument, 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 |
Field Detail |
public static final java.lang.String JSML
public static final java.lang.String[] JSML_ATTRIBUTES
public static final java.lang.String DIV
public static final java.lang.String[] DIV_ATTRIBUTES
public static final java.lang.String VOICE
public static final java.lang.String[] VOICE_ATTRIBUTES
public static final java.lang.String SAYAS
public static final java.lang.String[] SAYAS_ATTRIBUTES
public static final java.lang.String PHONEME
public static final java.lang.String[] PHONEME_ATTRIBUTES
public static final java.lang.String EMPHASIS
public static final java.lang.String[] EMPHASIS_ATTRIBUTES
public static final java.lang.String BREAK
public static final java.lang.String[] BREAK_ATTRIBUTES
public static final java.lang.String PROSODY
public static final java.lang.String[] PROSODY_ATTRIBUTES
public static final java.lang.String MARKER
public static final java.lang.String[] MARKER_ATTRIBUTES
public static final java.lang.String ENGINE
public static final java.lang.String[] ENGINE_ATTRIBUTES
public static final java.lang.String[] ELEMENTS
public static final java.lang.String[][] ELEMENT_ATTRIBUTES
public static final java.lang.String COMMAND_PREFIX
public static final java.lang.String COMMAND_SUFFIX
public static final java.lang.String DATA_PREFIX
public static final java.lang.String DATA_SUFFIX
public static final java.lang.String ELEMENT_START
public static final java.lang.String ELEMENT_END
Constructor Detail |
public TextSynthesizerQueueItem()
Method Detail |
public java.lang.String getTypeString()
String
for debug purposesprotected void linearize(org.w3c.dom.Node n, java.lang.StringBuffer buf)
n
- the node to traverse in depth-first orderbuf
- the buffer to append text toprotected java.lang.StringBuffer processNode(org.w3c.dom.Node n, java.lang.StringBuffer buf)
n
- the node to traverse in depth-first orderbuf
- the buffer to append text to
String
containing text to undo the
effects of the nodeprotected java.lang.StringBuffer processElement(org.w3c.dom.Element element, java.lang.StringBuffer buf)
element
- the element to traverse in depth-first orderbuf
- the buffer to append text to
String
containing text to undo the
effects of the elementprotected java.lang.StringBuffer processAttributes(org.w3c.dom.Element element, java.lang.String[] attributes)
StringBuffer
.
element
- the element containing attributes (if any)attributes
- the allowed attributes for
element
public java.lang.String getEngineText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |