1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:29 CET 2009 -->
\r
7 BaseSynthesizerQueueItem (FreeTTS 1.2)
\r
10 <META NAME="keywords" CONTENT="com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem class">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 parent.document.title="BaseSynthesizerQueueItem (FreeTTS 1.2)";
\r
23 <BODY BGCOLOR="white" onload="windowTitle();">
\r
26 <!-- ========= START OF TOP NAVBAR ======= -->
\r
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
34 <TR ALIGN="center" VALIGN="top">
\r
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
45 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
52 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerProperties.html" title="class in com.sun.speech.engine.synthesis"><B>PREV CLASS</B></A>
\r
53 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseVoice.html" title="class in com.sun.speech.engine.synthesis"><B>NEXT CLASS</B></A></FONT></TD>
\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
55 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
\r
56 <A HREF="BaseSynthesizerQueueItem.html" target="_top"><B>NO FRAMES</B></A>
\r
57 <SCRIPT type="text/javascript">
\r
60 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
65 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
71 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
72 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
74 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
77 <A NAME="skip-navbar_top"></A>
78 <!-- ========= END OF TOP NAVBAR ========= -->
\r
81 <!-- ======== START OF CLASS DATA ======== -->
\r
84 com.sun.speech.engine.synthesis</FONT>
\r
86 Class BaseSynthesizerQueueItem</H2>
\r
89 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">javax.speech.synthesis.SynthesizerQueueItem
\r
90 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem</B>
\r
93 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/sun/speech/engine/SpeechEventDispatcher.html" title="interface in com.sun.speech.engine">SpeechEventDispatcher</A></DD>
\r
96 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/sun/speech/freetts/jsapi/FreeTTSSynthesizerQueueItem.html" title="class in com.sun.speech.freetts.jsapi">FreeTTSSynthesizerQueueItem</A>, <A HREF="../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizerQueueItem.html" title="class in com.sun.speech.engine.synthesis.text">TextSynthesizerQueueItem</A></DD>
\r
100 <DT>public class <B>BaseSynthesizerQueueItem</B><DT>extends javax.speech.synthesis.SynthesizerQueueItem<DT>implements <A HREF="../../../../../com/sun/speech/engine/SpeechEventDispatcher.html" title="interface in com.sun.speech.engine">SpeechEventDispatcher</A></DL>
\r
103 Extends the JSAPI 1.0 <code>SynthesizerQueueItem</code> with handling
104 for JSML, generation of engine-specific text, and other features.
\r
111 <!-- ======== NESTED CLASS SUMMARY ======== -->
\r
114 <!-- =========== FIELD SUMMARY =========== -->
\r
116 <A NAME="field_summary"><!-- --></A>
117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
119 <TD COLSPAN=2><FONT SIZE="+2">
\r
120 <B>Field Summary</B></FONT></TD>
\r
122 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
124 <CODE>protected static int</CODE></FONT></TD>
\r
125 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#itemNumber">itemNumber</A></B></CODE>
\r
128 Global count of queue items used for debug.</TD>
\r
130 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
132 <CODE>protected <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></CODE></FONT></TD>
\r
133 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#synth">synth</A></B></CODE>
\r
136 <code>Synthesizer</code> that has queued this item.</TD>
\r
138 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
139 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
140 <CODE>protected int</CODE></FONT></TD>
\r
141 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#thisItemNumber">thisItemNumber</A></B></CODE>
\r
144 Count for this item used for debug.</TD>
\r
147 <A NAME="fields_inherited_from_class_javax.speech.synthesis.SynthesizerQueueItem"><!-- --></A>
148 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
149 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
150 <TD><B>Fields inherited from class javax.speech.synthesis.SynthesizerQueueItem</B></TD>
\r
152 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
153 <TD><CODE>listener, plainText, source, text</CODE></TD>
\r
157 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
159 <A NAME="constructor_summary"><!-- --></A>
160 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
161 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
162 <TD COLSPAN=2><FONT SIZE="+2">
\r
163 <B>Constructor Summary</B></FONT></TD>
\r
165 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
166 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#BaseSynthesizerQueueItem()">BaseSynthesizerQueueItem</A></B>()</CODE>
\r
169 Class constructor.</TD>
\r
173 <!-- ========== METHOD SUMMARY =========== -->
\r
175 <A NAME="method_summary"><!-- --></A>
176 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
177 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
178 <TD COLSPAN=2><FONT SIZE="+2">
\r
179 <B>Method Summary</B></FONT></TD>
\r
181 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
183 <CODE> void</CODE></FONT></TD>
\r
184 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#cancelled()">cancelled</A></B>()</CODE>
\r
187 indicate that this item has been canceled</TD>
\r
189 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
191 <CODE> void</CODE></FONT></TD>
\r
192 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#completed()">completed</A></B>()</CODE>
\r
195 indicate that this item has been completed</TD>
\r
197 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
199 <CODE> void</CODE></FONT></TD>
\r
200 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)">dispatchSpeechEvent</A></B>(javax.speech.SpeechEvent event)</CODE>
\r
203 Dispatches a <code>SpeechEvent</code>.
206 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
207 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
208 <CODE> void</CODE></FONT></TD>
\r
209 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireMarkerReached(javax.speech.synthesis.SpeakableEvent)">fireMarkerReached</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
212 Utility function that sends a <code>MARKER_REACHED</code> event
213 to all speakable listeners.</TD>
\r
215 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
216 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
217 <CODE> void</CODE></FONT></TD>
\r
218 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableCancelled(javax.speech.synthesis.SpeakableEvent)">fireSpeakableCancelled</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
221 Utility function that sends a <code>SPEAKABLE_CANCELLED</code> event
222 to all speakable listeners.</TD>
\r
224 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
225 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
226 <CODE> void</CODE></FONT></TD>
\r
227 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableEnded(javax.speech.synthesis.SpeakableEvent)">fireSpeakableEnded</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
230 Utility function that sends a <code>SPEAKABLE_ENDED</code> event
231 to all speakable listeners.</TD>
\r
233 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
235 <CODE> void</CODE></FONT></TD>
\r
236 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakablePaused(javax.speech.synthesis.SpeakableEvent)">fireSpeakablePaused</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
239 Utility function that sends a <code>SPEAKABLE_PAUSED</code> event
240 to all speakable listeners.</TD>
\r
242 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
243 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
244 <CODE> void</CODE></FONT></TD>
\r
245 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableResumed(javax.speech.synthesis.SpeakableEvent)">fireSpeakableResumed</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
248 Utility function that sends a <code>SPEAKABLE_RESUMED</code> event
249 to all speakable listeners.</TD>
\r
251 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
252 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
253 <CODE> void</CODE></FONT></TD>
\r
254 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableStarted(javax.speech.synthesis.SpeakableEvent)">fireSpeakableStarted</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
257 Utility function that sends a <code>SPEAKABLE_STARTED</code> event
258 to all speakable listeners.</TD>
\r
260 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
261 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
262 <CODE> void</CODE></FONT></TD>
\r
263 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireTopOfQueue(javax.speech.synthesis.SpeakableEvent)">fireTopOfQueue</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
266 Utility function that sends a <code>TOP_OF_QUEUE</code> event
267 to all speakable listeners.</TD>
\r
269 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
270 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
271 <CODE> void</CODE></FONT></TD>
\r
272 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireWordStarted(javax.speech.synthesis.SpeakableEvent)">fireWordStarted</A></B>(javax.speech.synthesis.SpeakableEvent event)</CODE>
\r
275 Utility function that sends a <code>WORD_STARTED</code> event
276 to all speakable listeners.</TD>
\r
278 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
279 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
280 <CODE>protected org.w3c.dom.Document</CODE></FONT></TD>
\r
281 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#getDocument()">getDocument</A></B>()</CODE>
\r
284 Gets the DOM document for this object.</TD>
\r
286 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
287 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
288 <CODE> int</CODE></FONT></TD>
\r
289 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#getItemNumber()">getItemNumber</A></B>()</CODE>
\r
292 Gets the item number for debug purposes only. </TD>
\r
294 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
295 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
296 <CODE>protected boolean</CODE></FONT></TD>
\r
297 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#isCancelled()">isCancelled</A></B>()</CODE>
\r
300 determines if this queue item has been canceled</TD>
\r
302 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
303 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
304 <CODE> boolean</CODE></FONT></TD>
\r
305 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#isCompleted()">isCompleted</A></B>()</CODE>
\r
308 returns true if this queue item has been
311 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
312 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
313 <CODE> void</CODE></FONT></TD>
\r
314 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postMarkerReached(java.lang.String, int)">postMarkerReached</A></B>(java.lang.String text,
315 int markerType)</CODE>
\r
318 Utility function that generates a
319 <code>MARKER_REACHED</code> event and posts it
320 to the event queue. </TD>
\r
322 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
323 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
324 <CODE> void</CODE></FONT></TD>
\r
325 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableCancelled()">postSpeakableCancelled</A></B>()</CODE>
\r
328 Utility function that generates a
329 <code>SPEAKABLE_CANCELLED</code> event and posts it
330 to the event queue. </TD>
\r
332 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
333 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
334 <CODE> void</CODE></FONT></TD>
\r
335 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableEnded()">postSpeakableEnded</A></B>()</CODE>
\r
338 Utility function that generates a
339 <code>SPEAKABLE_ENDED</code> event and posts it
340 to the event queue. </TD>
\r
342 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
343 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
344 <CODE> void</CODE></FONT></TD>
\r
345 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakablePaused()">postSpeakablePaused</A></B>()</CODE>
\r
348 Utility function that generates a
349 <code>SPEAKABLE_PAUSED</code> event and posts it
350 to the event queue. </TD>
\r
352 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
353 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
354 <CODE> void</CODE></FONT></TD>
\r
355 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableResumed()">postSpeakableResumed</A></B>()</CODE>
\r
358 Utility function that generates a
359 <code>SPEAKABLE_RESUMED</code> event and posts it
360 to the event queue. </TD>
\r
362 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
363 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
364 <CODE> void</CODE></FONT></TD>
\r
365 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableStarted()">postSpeakableStarted</A></B>()</CODE>
\r
368 Utility function that generates a
369 <code>SPEAKABLE_STARTED</code> event and posts it
370 to the event queue. </TD>
\r
372 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
373 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
374 <CODE> void</CODE></FONT></TD>
\r
375 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postTopOfQueue()">postTopOfQueue</A></B>()</CODE>
\r
378 Utility function that generates a
379 <code>TOP_OF_QUEUE</code> event and posts it
380 to the event queue. </TD>
\r
382 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
383 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
384 <CODE> void</CODE></FONT></TD>
\r
385 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postWordStarted(java.lang.String, int, int)">postWordStarted</A></B>(java.lang.String text,
387 int wordEnd)</CODE>
\r
390 Utility function that generates a
391 <code>WORD_STARTED</code> event and posts it
392 to the event queue. </TD>
\r
394 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
395 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
396 <CODE>protected void</CODE></FONT></TD>
\r
397 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#setData(com.sun.speech.engine.synthesis.BaseSynthesizer, javax.speech.synthesis.Speakable, javax.speech.synthesis.SpeakableListener)">setData</A></B>(<A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A> synth,
398 javax.speech.synthesis.Speakable source,
399 javax.speech.synthesis.SpeakableListener listener)</CODE>
\r
402 Sets queue item data with a <code>Speakable</code> source.</TD>
\r
404 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
405 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
406 <CODE>protected void</CODE></FONT></TD>
\r
407 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#setData(com.sun.speech.engine.synthesis.BaseSynthesizer, java.lang.String, boolean, javax.speech.synthesis.SpeakableListener)">setData</A></B>(<A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A> synth,
408 java.lang.String source,
409 boolean plainText,
410 javax.speech.synthesis.SpeakableListener listener)</CODE>
\r
413 Sets queue item data with a <code>String</code> source that is
414 either plain text or JSML.</TD>
\r
416 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
417 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
418 <CODE>protected void</CODE></FONT></TD>
\r
419 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#setData(com.sun.speech.engine.synthesis.BaseSynthesizer, java.net.URL, javax.speech.synthesis.SpeakableListener)">setData</A></B>(<A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A> synth,
420 java.net.URL source,
421 javax.speech.synthesis.SpeakableListener listener)</CODE>
\r
424 Sets queue item data with a <code>URL</code> source.</TD>
\r
426 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
427 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
428 <CODE> void</CODE></FONT></TD>
\r
429 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#started()">started</A></B>()</CODE>
\r
432 indicate that this item has been started</TD>
\r
434 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
435 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
436 <CODE> boolean</CODE></FONT></TD>
\r
437 <TD><CODE><B><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#waitCompleted()">waitCompleted</A></B>()</CODE>
\r
440 wait for this queue item to be completed</TD>
\r
443 <A NAME="methods_inherited_from_class_javax.speech.synthesis.SynthesizerQueueItem"><!-- --></A>
444 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
445 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
446 <TD><B>Methods inherited from class javax.speech.synthesis.SynthesizerQueueItem</B></TD>
\r
448 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
449 <TD><CODE>getSource, getSpeakableListener, getText, isPlainText</CODE></TD>
\r
452 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
453 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
454 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
455 <TD><B>Methods inherited from class java.lang.Object</B></TD>
\r
457 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
458 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
\r
464 <!-- ============ FIELD DETAIL =========== -->
\r
466 <A NAME="field_detail"><!-- --></A>
467 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
468 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
469 <TD COLSPAN=1><FONT SIZE="+2">
\r
470 <B>Field Detail</B></FONT></TD>
\r
474 <A NAME="itemNumber"><!-- --></A><H3>
\r
477 protected static int <B>itemNumber</B></PRE>
\r
479 <DD>Global count of queue items used for debug.
\r
486 <A NAME="thisItemNumber"><!-- --></A><H3>
\r
487 thisItemNumber</H3>
\r
489 protected int <B>thisItemNumber</B></PRE>
\r
491 <DD>Count for this item used for debug.
\r
498 <A NAME="synth"><!-- --></A><H3>
\r
501 protected <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A> <B>synth</B></PRE>
\r
503 <DD><code>Synthesizer</code> that has queued this item.
\r
509 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
511 <A NAME="constructor_detail"><!-- --></A>
512 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
513 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
514 <TD COLSPAN=1><FONT SIZE="+2">
\r
515 <B>Constructor Detail</B></FONT></TD>
\r
519 <A NAME="BaseSynthesizerQueueItem()"><!-- --></A><H3>
\r
520 BaseSynthesizerQueueItem</H3>
\r
522 public <B>BaseSynthesizerQueueItem</B>()</PRE>
\r
524 <DD>Class constructor.
\r
528 <!-- ============ METHOD DETAIL ========== -->
\r
530 <A NAME="method_detail"><!-- --></A>
531 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
532 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
533 <TD COLSPAN=1><FONT SIZE="+2">
\r
534 <B>Method Detail</B></FONT></TD>
\r
538 <A NAME="setData(com.sun.speech.engine.synthesis.BaseSynthesizer, javax.speech.synthesis.Speakable, javax.speech.synthesis.SpeakableListener)"><!-- --></A><H3>
\r
541 protected void <B>setData</B>(<A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A> synth,
542 javax.speech.synthesis.Speakable source,
543 javax.speech.synthesis.SpeakableListener listener)
544 throws javax.speech.synthesis.JSMLException</PRE>
\r
546 <DD>Sets queue item data with a <code>Speakable</code> source.
\r
552 <DT><B>Parameters:</B><DD><CODE>synth</CODE> - the synthesizer<DD><CODE>source</CODE> - the <code>Speakable</code><DD><CODE>listener</CODE> - the <code>SpeakableListener</code> to be
553 notified as this object is processed
555 <DD><CODE>javax.speech.synthesis.JSMLException</CODE> - if the <code>source</code> contains JSML errors</DL>
\r
560 <A NAME="setData(com.sun.speech.engine.synthesis.BaseSynthesizer, java.lang.String, boolean, javax.speech.synthesis.SpeakableListener)"><!-- --></A><H3>
\r
563 protected void <B>setData</B>(<A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A> synth,
564 java.lang.String source,
565 boolean plainText,
566 javax.speech.synthesis.SpeakableListener listener)
567 throws javax.speech.synthesis.JSMLException</PRE>
\r
569 <DD>Sets queue item data with a <code>String</code> source that is
570 either plain text or JSML.
\r
576 <DT><B>Parameters:</B><DD><CODE>synth</CODE> - the synthesizer<DD><CODE>source</CODE> - the text<DD><CODE>plainText</CODE> - <code>true</code> only if the
577 <code>source</code> is plain text<DD><CODE>listener</CODE> - the <code>SpeakableListener</code> to be
578 notified as this object is processed
580 <DD><CODE>javax.speech.synthesis.JSMLException</CODE> - if the <code>source</code> contains JSML errors</DL>
\r
585 <A NAME="setData(com.sun.speech.engine.synthesis.BaseSynthesizer, java.net.URL, javax.speech.synthesis.SpeakableListener)"><!-- --></A><H3>
\r
588 protected void <B>setData</B>(<A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A> synth,
589 java.net.URL source,
590 javax.speech.synthesis.SpeakableListener listener)
591 throws javax.speech.synthesis.JSMLException,
592 java.io.IOException</PRE>
\r
594 <DD>Sets queue item data with a <code>URL</code> source.
\r
600 <DT><B>Parameters:</B><DD><CODE>synth</CODE> - the synthesizer<DD><CODE>source</CODE> - the <code>URL</code> containing JSML text<DD><CODE>listener</CODE> - the <code>SpeakableListener</code> to be
601 notified as this object is processed
603 <DD><CODE>javax.speech.synthesis.JSMLException</CODE> - if the <code>source</code> contains JSML errors
604 <DD><CODE>java.io.IOException</CODE> - if there are problems working with the URL.</DL>
\r
609 <A NAME="getDocument()"><!-- --></A><H3>
\r
612 protected org.w3c.dom.Document <B>getDocument</B>()</PRE>
\r
614 <DD>Gets the DOM document for this object.
\r
621 <DT><B>Returns:</B><DD>the DOM document for this object.</DL>
\r
626 <A NAME="isCancelled()"><!-- --></A><H3>
\r
629 protected boolean <B>isCancelled</B>()</PRE>
\r
631 <DD>determines if this queue item has been canceled
\r
638 <DT><B>Returns:</B><DD><code> true </code> if this item has been canceled;
639 otherwise <code> false </code></DL>
\r
644 <A NAME="isCompleted()"><!-- --></A><H3>
\r
647 public boolean <B>isCompleted</B>()</PRE>
\r
649 <DD>returns true if this queue item has been
657 <DT><B>Returns:</B><DD>true if it has been processed</DL>
\r
662 <A NAME="waitCompleted()"><!-- --></A><H3>
\r
665 public boolean <B>waitCompleted</B>()</PRE>
\r
667 <DD>wait for this queue item to be completed
\r
674 <DT><B>Returns:</B><DD>true if the item was completed successfully, false if
675 the item was canceled or an error occurred.</DL>
\r
680 <A NAME="cancelled()"><!-- --></A><H3>
\r
683 public void <B>cancelled</B>()</PRE>
\r
685 <DD>indicate that this item has been canceled
\r
696 <A NAME="completed()"><!-- --></A><H3>
\r
699 public void <B>completed</B>()</PRE>
\r
701 <DD>indicate that this item has been completed
\r
712 <A NAME="started()"><!-- --></A><H3>
\r
715 public void <B>started</B>()</PRE>
\r
717 <DD>indicate that this item has been started
\r
728 <A NAME="getItemNumber()"><!-- --></A><H3>
\r
731 public int <B>getItemNumber</B>()</PRE>
\r
733 <DD>Gets the item number for debug purposes only. Each queue item
734 is given a unique ID.
\r
741 <DT><B>Returns:</B><DD>the unique ID for this queue item</DL>
\r
746 <A NAME="postMarkerReached(java.lang.String, int)"><!-- --></A><H3>
\r
747 postMarkerReached</H3>
\r
749 public void <B>postMarkerReached</B>(java.lang.String text,
750 int markerType)</PRE>
\r
752 <DD>Utility function that generates a
753 <code>MARKER_REACHED</code> event and posts it
754 to the event queue. Eventually
755 <code>fireMarkerReached</code> will be called
756 by <code>dispatchSpeechEvent</code> as a result
763 <DT><B>Parameters:</B><DD><CODE>text</CODE> - the text of the marker<DD><CODE>markerType</CODE> - the type of marker<DT><B>See Also:</B><DD><CODE>SpeakableEvent.getMarkerType()</CODE>,
764 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireMarkerReached(javax.speech.synthesis.SpeakableEvent)"><CODE>fireMarkerReached(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
765 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
770 <A NAME="fireMarkerReached(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
771 fireMarkerReached</H3>
\r
773 public void <B>fireMarkerReached</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
775 <DD>Utility function that sends a <code>MARKER_REACHED</code> event
776 to all speakable listeners.
\r
782 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>MARKER_REACHED</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postMarkerReached(java.lang.String, int)"><CODE>postMarkerReached(java.lang.String, int)</CODE></A></DL>
\r
787 <A NAME="postSpeakableCancelled()"><!-- --></A><H3>
\r
788 postSpeakableCancelled</H3>
\r
790 public void <B>postSpeakableCancelled</B>()</PRE>
\r
792 <DD>Utility function that generates a
793 <code>SPEAKABLE_CANCELLED</code> event and posts it
794 to the event queue. Eventually
795 <code>fireSpeakableCancelled</code> will be called
796 by <code>dispatchSpeechEvent</code> as a result
803 <DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableCancelled(javax.speech.synthesis.SpeakableEvent)"><CODE>fireSpeakableCancelled(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
804 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
809 <A NAME="fireSpeakableCancelled(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
810 fireSpeakableCancelled</H3>
\r
812 public void <B>fireSpeakableCancelled</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
814 <DD>Utility function that sends a <code>SPEAKABLE_CANCELLED</code> event
815 to all speakable listeners.
\r
821 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>SPEAKABLE_CANCELLED</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableCancelled()"><CODE>postSpeakableCancelled()</CODE></A></DL>
\r
826 <A NAME="postSpeakableEnded()"><!-- --></A><H3>
\r
827 postSpeakableEnded</H3>
\r
829 public void <B>postSpeakableEnded</B>()</PRE>
\r
831 <DD>Utility function that generates a
832 <code>SPEAKABLE_ENDED</code> event and posts it
833 to the event queue. Eventually
834 <code>fireSpeakableEnded</code> will be called
835 by <code>dispatchSpeechEvent</code> as a result
842 <DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableEnded(javax.speech.synthesis.SpeakableEvent)"><CODE>fireSpeakableEnded(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
843 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
848 <A NAME="fireSpeakableEnded(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
849 fireSpeakableEnded</H3>
\r
851 public void <B>fireSpeakableEnded</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
853 <DD>Utility function that sends a <code>SPEAKABLE_ENDED</code> event
854 to all speakable listeners.
\r
860 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>SPEAKABLE_ENDED</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableEnded()"><CODE>postSpeakableEnded()</CODE></A></DL>
\r
865 <A NAME="postSpeakablePaused()"><!-- --></A><H3>
\r
866 postSpeakablePaused</H3>
\r
868 public void <B>postSpeakablePaused</B>()</PRE>
\r
870 <DD>Utility function that generates a
871 <code>SPEAKABLE_PAUSED</code> event and posts it
872 to the event queue. Eventually
873 <code>fireSpeakablePaused</code> will be called
874 by <code>dispatchSpeechEvent</code> as a result
881 <DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakablePaused(javax.speech.synthesis.SpeakableEvent)"><CODE>fireSpeakablePaused(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
882 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
887 <A NAME="fireSpeakablePaused(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
888 fireSpeakablePaused</H3>
\r
890 public void <B>fireSpeakablePaused</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
892 <DD>Utility function that sends a <code>SPEAKABLE_PAUSED</code> event
893 to all speakable listeners.
\r
899 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>SPEAKABLE_PAUSED</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakablePaused()"><CODE>postSpeakablePaused()</CODE></A></DL>
\r
904 <A NAME="postSpeakableResumed()"><!-- --></A><H3>
\r
905 postSpeakableResumed</H3>
\r
907 public void <B>postSpeakableResumed</B>()</PRE>
\r
909 <DD>Utility function that generates a
910 <code>SPEAKABLE_RESUMED</code> event and posts it
911 to the event queue. Eventually
912 <code>fireSpeakableResumed</code> will be called
913 by <code>dispatchSpeechEvent</code> as a result
920 <DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableResumed(javax.speech.synthesis.SpeakableEvent)"><CODE>fireSpeakableResumed(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
921 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
926 <A NAME="fireSpeakableResumed(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
927 fireSpeakableResumed</H3>
\r
929 public void <B>fireSpeakableResumed</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
931 <DD>Utility function that sends a <code>SPEAKABLE_RESUMED</code> event
932 to all speakable listeners.
\r
938 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>SPEAKABLE_RESUMED</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableResumed()"><CODE>postSpeakableResumed()</CODE></A></DL>
\r
943 <A NAME="postSpeakableStarted()"><!-- --></A><H3>
\r
944 postSpeakableStarted</H3>
\r
946 public void <B>postSpeakableStarted</B>()</PRE>
\r
948 <DD>Utility function that generates a
949 <code>SPEAKABLE_STARTED</code> event and posts it
950 to the event queue. Eventually
951 <code>fireSpeakableStarted</code> will be called
952 by <code>dispatchSpeechEvent</code> as a result
959 <DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireSpeakableStarted(javax.speech.synthesis.SpeakableEvent)"><CODE>fireSpeakableStarted(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
960 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
965 <A NAME="fireSpeakableStarted(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
966 fireSpeakableStarted</H3>
\r
968 public void <B>fireSpeakableStarted</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
970 <DD>Utility function that sends a <code>SPEAKABLE_STARTED</code> event
971 to all speakable listeners.
\r
977 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>SPEAKABLE_STARTED</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableStarted()"><CODE>postSpeakableStarted()</CODE></A></DL>
\r
982 <A NAME="postTopOfQueue()"><!-- --></A><H3>
\r
983 postTopOfQueue</H3>
\r
985 public void <B>postTopOfQueue</B>()</PRE>
\r
987 <DD>Utility function that generates a
988 <code>TOP_OF_QUEUE</code> event and posts it
989 to the event queue. Eventually
990 <code>fireTopOfQueue</code> will be called
991 by <code>dispatchSpeechEvent</code> as a result
998 <DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireTopOfQueue(javax.speech.synthesis.SpeakableEvent)"><CODE>fireTopOfQueue(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
999 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
1004 <A NAME="fireTopOfQueue(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
1005 fireTopOfQueue</H3>
\r
1007 public void <B>fireTopOfQueue</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
1009 <DD>Utility function that sends a <code>TOP_OF_QUEUE</code> event
1010 to all speakable listeners.
\r
1016 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>TOP_OF_QUEUE</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postTopOfQueue()"><CODE>postTopOfQueue()</CODE></A></DL>
\r
1021 <A NAME="postWordStarted(java.lang.String, int, int)"><!-- --></A><H3>
\r
1022 postWordStarted</H3>
\r
1024 public void <B>postWordStarted</B>(java.lang.String text,
1026 int wordEnd)</PRE>
\r
1028 <DD>Utility function that generates a
1029 <code>WORD_STARTED</code> event and posts it
1030 to the event queue. Eventually
1031 <code>fireWordStarted</code> will be called
1032 by <code>dispatchSpeechEvent</code> as a result
1039 <DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#fireWordStarted(javax.speech.synthesis.SpeakableEvent)"><CODE>fireWordStarted(javax.speech.synthesis.SpeakableEvent)</CODE></A>,
1040 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#dispatchSpeechEvent(javax.speech.SpeechEvent)"><CODE>dispatchSpeechEvent(javax.speech.SpeechEvent)</CODE></A></DL>
\r
1045 <A NAME="fireWordStarted(javax.speech.synthesis.SpeakableEvent)"><!-- --></A><H3>
\r
1046 fireWordStarted</H3>
\r
1048 public void <B>fireWordStarted</B>(javax.speech.synthesis.SpeakableEvent event)</PRE>
\r
1050 <DD>Utility function that sends a <code>WORD_STARTED</code> event
1051 to all speakable listeners.
\r
1057 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>WORD_STARTED</code> event<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postWordStarted(java.lang.String, int, int)"><CODE>postWordStarted(java.lang.String, int, int)</CODE></A></DL>
\r
1062 <A NAME="dispatchSpeechEvent(javax.speech.SpeechEvent)"><!-- --></A><H3>
\r
1063 dispatchSpeechEvent</H3>
\r
1065 public void <B>dispatchSpeechEvent</B>(javax.speech.SpeechEvent event)</PRE>
\r
1067 <DD>Dispatches a <code>SpeechEvent</code>.
1068 The dispatcher should notify all <code>EngineListeners</code>
1069 from this method. The <code>SpeechEvent</code> was added
1070 via the various post methods of this class.
\r
1073 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/sun/speech/engine/SpeechEventDispatcher.html#dispatchSpeechEvent(javax.speech.SpeechEvent)">dispatchSpeechEvent</A></CODE> in interface <CODE><A HREF="../../../../../com/sun/speech/engine/SpeechEventDispatcher.html" title="interface in com.sun.speech.engine">SpeechEventDispatcher</A></CODE></DL>
\r
1076 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the <code>SpeechEvent</code> to dispatch<DT><B>See Also:</B><DD><A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postMarkerReached(java.lang.String, int)"><CODE>postMarkerReached(java.lang.String, int)</CODE></A>,
1077 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableCancelled()"><CODE>postSpeakableCancelled()</CODE></A>,
1078 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableEnded()"><CODE>postSpeakableEnded()</CODE></A>,
1079 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakablePaused()"><CODE>postSpeakablePaused()</CODE></A>,
1080 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableResumed()"><CODE>postSpeakableResumed()</CODE></A>,
1081 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postSpeakableStarted()"><CODE>postSpeakableStarted()</CODE></A>,
1082 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postTopOfQueue()"><CODE>postTopOfQueue()</CODE></A>,
1083 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html#postWordStarted(java.lang.String, int, int)"><CODE>postWordStarted(java.lang.String, int, int)</CODE></A></DL>
\r
1086 <!-- ========= END OF CLASS DATA ========= -->
\r
1090 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
1091 <A NAME="navbar_bottom"><!-- --></A>
1092 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1093 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
1095 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
1096 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1097 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
1098 <TR ALIGN="center" VALIGN="top">
\r
1099 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
1100 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
1101 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
1102 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
1103 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
1104 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
1105 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
1109 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
1115 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
1116 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerProperties.html" title="class in com.sun.speech.engine.synthesis"><B>PREV CLASS</B></A>
\r
1117 <A HREF="../../../../../com/sun/speech/engine/synthesis/BaseVoice.html" title="class in com.sun.speech.engine.synthesis"><B>NEXT CLASS</B></A></FONT></TD>
\r
1118 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
1119 <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
\r
1120 <A HREF="BaseSynthesizerQueueItem.html" target="_top"><B>NO FRAMES</B></A>
\r
1121 <SCRIPT type="text/javascript">
\r
1124 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
1129 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
1135 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
1136 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
1137 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
1138 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
1141 <A NAME="skip-navbar_bottom"></A>
1142 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r