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 TextSynthesizer (FreeTTS 1.2)
\r
10 <META NAME="keywords" CONTENT="com.sun.speech.engine.synthesis.text.TextSynthesizer 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="TextSynthesizer (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/text/TextEngineCentral.html" title="class in com.sun.speech.engine.synthesis.text"><B>PREV CLASS</B></A>
\r
53 <A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.OutputHandler.html" title="class in com.sun.speech.engine.synthesis.text"><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="TextSynthesizer.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_com.sun.speech.engine.synthesis.BaseSynthesizer">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: FIELD | <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.text</FONT>
\r
86 Class TextSynthesizer</H2>
\r
89 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html" title="class in com.sun.speech.engine">com.sun.speech.engine.BaseEngine</A>
\r
90 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">com.sun.speech.engine.synthesis.BaseSynthesizer</A>
\r
91 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.engine.synthesis.text.TextSynthesizer</B>
\r
94 <DT><B>All Implemented Interfaces:</B> <DD>javax.speech.Engine, <A HREF="../../../../../../com/sun/speech/engine/SpeechEventDispatcher.html" title="interface in com.sun.speech.engine">SpeechEventDispatcher</A>, javax.speech.synthesis.Synthesizer</DD>
\r
98 <DT>public class <B>TextSynthesizer</B><DT>extends <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></DL>
\r
101 Supports a simple text-output-only JSAPI 1.0 <code>Synthesizer</code>.
102 Intended for demonstration purposes for those developing JSAPI
103 implementations. It may also be useful to developers who want a
104 JSAPI synthesizer that doesn't produce any noise.
\r
111 <!-- ======== NESTED CLASS SUMMARY ======== -->
\r
113 <A NAME="nested_class_summary"><!-- --></A>
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
116 <TD COLSPAN=2><FONT SIZE="+2">
\r
117 <B>Nested Class Summary</B></FONT></TD>
\r
119 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
120 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
121 <CODE> class</CODE></FONT></TD>
\r
122 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.OutputHandler.html" title="class in com.sun.speech.engine.synthesis.text">TextSynthesizer.OutputHandler</A></B></CODE>
\r
125 The output device for a <code>TextSynthesizer</code>. </TD>
\r
129 <!-- =========== FIELD SUMMARY =========== -->
\r
131 <A NAME="field_summary"><!-- --></A>
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
134 <TD COLSPAN=2><FONT SIZE="+2">
\r
135 <B>Field Summary</B></FONT></TD>
\r
138 <A NAME="fields_inherited_from_class_com.sun.speech.engine.synthesis.BaseSynthesizer"><!-- --></A>
139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
140 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
141 <TD><B>Fields inherited from class com.sun.speech.engine.synthesis.<A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></B></TD>
\r
143 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
144 <TD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#speakableListeners">speakableListeners</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#voiceList">voiceList</A></CODE></TD>
\r
147 <A NAME="fields_inherited_from_class_com.sun.speech.engine.BaseEngine"><!-- --></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 com.sun.speech.engine.<A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html" title="class in com.sun.speech.engine">BaseEngine</A></B></TD>
\r
152 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
153 <TD><CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#audioManager">audioManager</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#CLEAR_ALL_STATE">CLEAR_ALL_STATE</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#engineListeners">engineListeners</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#engineModeDesc">engineModeDesc</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#engineProperties">engineProperties</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#engineState">engineState</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#engineStateLock">engineStateLock</A></CODE></TD>
\r
156 <A NAME="fields_inherited_from_class_javax.speech.synthesis.Synthesizer"><!-- --></A>
157 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
158 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
159 <TD><B>Fields inherited from interface javax.speech.synthesis.Synthesizer</B></TD>
\r
161 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
162 <TD><CODE>QUEUE_EMPTY, QUEUE_NOT_EMPTY</CODE></TD>
\r
165 <A NAME="fields_inherited_from_class_javax.speech.Engine"><!-- --></A>
166 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
167 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
168 <TD><B>Fields inherited from interface javax.speech.Engine</B></TD>
\r
170 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
171 <TD><CODE>ALLOCATED, ALLOCATING_RESOURCES, DEALLOCATED, DEALLOCATING_RESOURCES, PAUSED, RESUMED</CODE></TD>
\r
175 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
177 <A NAME="constructor_summary"><!-- --></A>
178 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
179 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
180 <TD COLSPAN=2><FONT SIZE="+2">
\r
181 <B>Constructor Summary</B></FONT></TD>
\r
183 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
184 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#TextSynthesizer(javax.speech.synthesis.SynthesizerModeDesc)">TextSynthesizer</A></B>(javax.speech.synthesis.SynthesizerModeDesc desc)</CODE>
\r
187 Creates a new Synthesizer in the DEALLOCATED state.</TD>
\r
191 <!-- ========== METHOD SUMMARY =========== -->
\r
193 <A NAME="method_summary"><!-- --></A>
194 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
195 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
196 <TD COLSPAN=2><FONT SIZE="+2">
\r
197 <B>Method Summary</B></FONT></TD>
\r
199 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
200 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
201 <CODE>protected void</CODE></FONT></TD>
\r
202 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#appendQueue(com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem)">appendQueue</A></B>(<A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizerQueueItem</A> item)</CODE>
\r
205 Puts an item on the speaking queue and sends a queue updated
208 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
210 <CODE> void</CODE></FONT></TD>
\r
211 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#cancel()">cancel</A></B>()</CODE>
\r
214 Cancels the item at the top of the queue.</TD>
\r
216 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
217 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
218 <CODE> void</CODE></FONT></TD>
\r
219 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#cancel(java.lang.Object)">cancel</A></B>(java.lang.Object source)</CODE>
\r
222 Cancels a specific object on the queue.</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/text/TextSynthesizer.html#cancelAll()">cancelAll</A></B>()</CODE>
\r
230 Cancels all items on the output queue.</TD>
\r
232 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
233 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
234 <CODE>protected <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizerQueueItem</A></CODE></FONT></TD>
\r
235 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#createQueueItem()">createQueueItem</A></B>()</CODE>
\r
238 Creates a TextSynthesizerQueueItem.</TD>
\r
240 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
241 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
242 <CODE> java.util.Enumeration</CODE></FONT></TD>
\r
243 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#enumerateQueue()">enumerateQueue</A></B>()</CODE>
\r
246 Returns an enumeration of the queue.</TD>
\r
248 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
250 <CODE>protected void</CODE></FONT></TD>
\r
251 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#handleAllocate()">handleAllocate</A></B>()</CODE>
\r
254 Starts the output thread.</TD>
\r
256 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
257 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
258 <CODE>protected void</CODE></FONT></TD>
\r
259 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#handleDeallocate()">handleDeallocate</A></B>()</CODE>
\r
262 Stops the output thread.</TD>
\r
264 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
265 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
266 <CODE>protected void</CODE></FONT></TD>
\r
267 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#handlePause()">handlePause</A></B>()</CODE>
\r
270 Pauses the output.</TD>
\r
272 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
273 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
274 <CODE>protected void</CODE></FONT></TD>
\r
275 <TD><CODE><B><A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.html#handleResume()">handleResume</A></B>()</CODE>
\r
278 Resumes the output.</TD>
\r
281 <A NAME="methods_inherited_from_class_com.sun.speech.engine.synthesis.BaseSynthesizer"><!-- --></A>
282 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
283 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
284 <TD><B>Methods inherited from class com.sun.speech.engine.synthesis.<A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></B></TD>
\r
286 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
287 <TD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#addSpeakableListener(javax.speech.synthesis.SpeakableListener)">addSpeakableListener</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#createEngineProperties()">createEngineProperties</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#dispatchSpeechEvent(javax.speech.SpeechEvent)">dispatchSpeechEvent</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#fireQueueEmptied(javax.speech.synthesis.SynthesizerEvent)">fireQueueEmptied</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#fireQueueUpdated(javax.speech.synthesis.SynthesizerEvent)">fireQueueUpdated</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#getSynthesizerProperties()">getSynthesizerProperties</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#getVoiceList()">getVoiceList</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#phoneme(java.lang.String)">phoneme</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#postQueueEmptied(long, long)">postQueueEmptied</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#postQueueUpdated(boolean, long, long)">postQueueUpdated</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#removeSpeakableListener(javax.speech.synthesis.SpeakableListener)">removeSpeakableListener</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#speak(javax.speech.synthesis.Speakable, javax.speech.synthesis.SpeakableListener)">speak</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#speak(java.lang.String, javax.speech.synthesis.SpeakableListener)">speak</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#speak(java.net.URL, javax.speech.synthesis.SpeakableListener)">speak</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#speakPlainText(java.lang.String, javax.speech.synthesis.SpeakableListener)">speakPlainText</A>, <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#stateToString(long)">stateToString</A></CODE></TD>
\r
290 <A NAME="methods_inherited_from_class_com.sun.speech.engine.BaseEngine"><!-- --></A>
291 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
292 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
293 <TD><B>Methods inherited from class com.sun.speech.engine.<A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html" title="class in com.sun.speech.engine">BaseEngine</A></B></TD>
\r
295 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
296 <TD><CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#addEngineListener(javax.speech.EngineListener)">addEngineListener</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#allocate()">allocate</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#checkEngineState(long)">checkEngineState</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#deallocate()">deallocate</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#fireEngineAllocated(javax.speech.EngineEvent)">fireEngineAllocated</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#fireEngineAllocatingResources(javax.speech.EngineEvent)">fireEngineAllocatingResources</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#fireEngineDeallocated(javax.speech.EngineEvent)">fireEngineDeallocated</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#fireEngineDeallocatingResources(javax.speech.EngineEvent)">fireEngineDeallocatingResources</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#fireEnginePaused(javax.speech.EngineEvent)">fireEnginePaused</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#fireEngineResumed(javax.speech.EngineEvent)">fireEngineResumed</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#getAudioManager()">getAudioManager</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#getEngineModeDesc()">getEngineModeDesc</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#getEngineProperties()">getEngineProperties</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#getEngineState()">getEngineState</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#getVocabManager()">getVocabManager</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#pause()">pause</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#postEngineAllocated(long, long)">postEngineAllocated</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#postEngineAllocatingResources(long, long)">postEngineAllocatingResources</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#postEngineDeallocated(long, long)">postEngineDeallocated</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#postEngineDeallocatingResources(long, long)">postEngineDeallocatingResources</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#postEnginePaused(long, long)">postEnginePaused</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#postEngineResumed(long, long)">postEngineResumed</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#removeEngineListener(javax.speech.EngineListener)">removeEngineListener</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#resume()">resume</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#setEngineModeDesc(javax.speech.EngineModeDesc)">setEngineModeDesc</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#setEngineState(long, long)">setEngineState</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#testEngineState(long)">testEngineState</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#toString()">toString</A>, <A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#waitEngineState(long)">waitEngineState</A></CODE></TD>
\r
299 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
300 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
301 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
302 <TD><B>Methods inherited from class java.lang.Object</B></TD>
\r
304 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
305 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
\r
308 <A NAME="methods_inherited_from_class_javax.speech.Engine"><!-- --></A>
309 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
310 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
311 <TD><B>Methods inherited from interface javax.speech.Engine</B></TD>
\r
313 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
314 <TD><CODE>addEngineListener, allocate, deallocate, getAudioManager, getEngineModeDesc, getEngineProperties, getEngineState, getVocabManager, pause, removeEngineListener, resume, testEngineState, waitEngineState</CODE></TD>
\r
320 <!-- ============ FIELD DETAIL =========== -->
\r
323 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
325 <A NAME="constructor_detail"><!-- --></A>
326 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
327 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
328 <TD COLSPAN=1><FONT SIZE="+2">
\r
329 <B>Constructor Detail</B></FONT></TD>
\r
333 <A NAME="TextSynthesizer(javax.speech.synthesis.SynthesizerModeDesc)"><!-- --></A><H3>
\r
334 TextSynthesizer</H3>
\r
336 public <B>TextSynthesizer</B>(javax.speech.synthesis.SynthesizerModeDesc desc)</PRE>
\r
338 <DD>Creates a new Synthesizer in the DEALLOCATED state.
\r
340 <DT><B>Parameters:</B><DD><CODE>desc</CODE> - the operating mode</DL>
\r
342 <!-- ============ METHOD DETAIL ========== -->
\r
344 <A NAME="method_detail"><!-- --></A>
345 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
346 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
347 <TD COLSPAN=1><FONT SIZE="+2">
\r
348 <B>Method Detail</B></FONT></TD>
\r
352 <A NAME="handleAllocate()"><!-- --></A><H3>
\r
353 handleAllocate</H3>
\r
355 protected void <B>handleAllocate</B>()</PRE>
\r
357 <DD>Starts the output thread.
\r
360 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#handleAllocate()">handleAllocate</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html" title="class in com.sun.speech.engine">BaseEngine</A></CODE></DL>
\r
363 <DT><B>See Also:</B><DD><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#allocate()"><CODE>BaseEngine.allocate()</CODE></A></DL>
\r
368 <A NAME="handleDeallocate()"><!-- --></A><H3>
\r
369 handleDeallocate</H3>
\r
371 protected void <B>handleDeallocate</B>()</PRE>
\r
373 <DD>Stops the output thread.
\r
376 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#handleDeallocate()">handleDeallocate</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html" title="class in com.sun.speech.engine">BaseEngine</A></CODE></DL>
\r
384 <A NAME="createQueueItem()"><!-- --></A><H3>
\r
385 createQueueItem</H3>
\r
387 protected <A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizerQueueItem</A> <B>createQueueItem</B>()</PRE>
\r
389 <DD>Creates a TextSynthesizerQueueItem.
\r
392 <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#createQueueItem()">createQueueItem</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></CODE></DL>
\r
396 <DT><B>Returns:</B><DD>a TextSynthesizerQueueItem</DL>
\r
401 <A NAME="enumerateQueue()"><!-- --></A><H3>
\r
402 enumerateQueue</H3>
\r
404 public java.util.Enumeration <B>enumerateQueue</B>()
405 throws javax.speech.EngineStateError</PRE>
\r
407 <DD>Returns an enumeration of the queue.
\r
410 <DT><B>Specified by:</B><DD><CODE>enumerateQueue</CODE> in interface <CODE>javax.speech.synthesis.Synthesizer</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#enumerateQueue()">enumerateQueue</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></CODE></DL>
\r
414 <DT><B>Returns:</B><DD>an <code>Enumeration</code> of the speech output queue or
417 <DD><CODE>javax.speech.EngineStateError</CODE> - if this <code>Synthesizer</code> in the <code>DEALLOCATED</code> or
418 <code>DEALLOCATING_RESOURCES</code> states</DL>
\r
423 <A NAME="appendQueue(com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem)"><!-- --></A><H3>
\r
426 protected void <B>appendQueue</B>(<A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizerQueueItem.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizerQueueItem</A> item)</PRE>
\r
428 <DD>Puts an item on the speaking queue and sends a queue updated
429 event. Expects only <code>TextSynthesizerQueueItems</code>.
\r
432 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#appendQueue(com.sun.speech.engine.synthesis.BaseSynthesizerQueueItem)">appendQueue</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></CODE></DL>
\r
435 <DT><B>Parameters:</B><DD><CODE>item</CODE> - the item to add to the queue</DL>
\r
440 <A NAME="cancel()"><!-- --></A><H3>
\r
443 public void <B>cancel</B>()
444 throws javax.speech.EngineStateError</PRE>
\r
446 <DD>Cancels the item at the top of the queue.
\r
449 <DT><B>Specified by:</B><DD><CODE>cancel</CODE> in interface <CODE>javax.speech.synthesis.Synthesizer</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#cancel()">cancel</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></CODE></DL>
\r
454 <DD><CODE>javax.speech.EngineStateError</CODE> - if this <code>Synthesizer</code> in the <code>DEALLOCATED</code> or
455 <code>DEALLOCATING_RESOURCES</code> states</DL>
\r
460 <A NAME="cancel(java.lang.Object)"><!-- --></A><H3>
\r
463 public void <B>cancel</B>(java.lang.Object source)
464 throws java.lang.IllegalArgumentException,
465 javax.speech.EngineStateError</PRE>
\r
467 <DD>Cancels a specific object on the queue.
\r
470 <DT><B>Specified by:</B><DD><CODE>cancel</CODE> in interface <CODE>javax.speech.synthesis.Synthesizer</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#cancel(java.lang.Object)">cancel</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></CODE></DL>
\r
473 <DT><B>Parameters:</B><DD><CODE>source</CODE> - object to be removed from the speech output queue
475 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the source object is not found in the speech output queue.
476 <DD><CODE>javax.speech.EngineStateError</CODE> - if this <code>Synthesizer</code> in the <code>DEALLOCATED</code> or
477 <code>DEALLOCATING_RESOURCES</code> states</DL>
\r
482 <A NAME="cancelAll()"><!-- --></A><H3>
\r
485 public void <B>cancelAll</B>()
486 throws javax.speech.EngineStateError</PRE>
\r
488 <DD>Cancels all items on the output queue.
\r
491 <DT><B>Specified by:</B><DD><CODE>cancelAll</CODE> in interface <CODE>javax.speech.synthesis.Synthesizer</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html#cancelAll()">cancelAll</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/synthesis/BaseSynthesizer.html" title="class in com.sun.speech.engine.synthesis">BaseSynthesizer</A></CODE></DL>
\r
496 <DD><CODE>javax.speech.EngineStateError</CODE> - if this <code>Synthesizer</code> in the <code>DEALLOCATED</code> or
497 <code>DEALLOCATING_RESOURCES</code> states</DL>
\r
502 <A NAME="handlePause()"><!-- --></A><H3>
\r
505 protected void <B>handlePause</B>()</PRE>
\r
507 <DD>Pauses the output.
\r
510 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#handlePause()">handlePause</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html" title="class in com.sun.speech.engine">BaseEngine</A></CODE></DL>
\r
518 <A NAME="handleResume()"><!-- --></A><H3>
\r
521 protected void <B>handleResume</B>()</PRE>
\r
523 <DD>Resumes the output.
\r
526 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html#handleResume()">handleResume</A></CODE> in class <CODE><A HREF="../../../../../../com/sun/speech/engine/BaseEngine.html" title="class in com.sun.speech.engine">BaseEngine</A></CODE></DL>
\r
532 <!-- ========= END OF CLASS DATA ========= -->
\r
536 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
537 <A NAME="navbar_bottom"><!-- --></A>
538 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
539 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
541 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
542 <A NAME="navbar_bottom_firstrow"><!-- --></A>
543 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
544 <TR ALIGN="center" VALIGN="top">
\r
545 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
546 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
547 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
548 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
549 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
550 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
551 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
555 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
561 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
562 <A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextEngineCentral.html" title="class in com.sun.speech.engine.synthesis.text"><B>PREV CLASS</B></A>
\r
563 <A HREF="../../../../../../com/sun/speech/engine/synthesis/text/TextSynthesizer.OutputHandler.html" title="class in com.sun.speech.engine.synthesis.text"><B>NEXT CLASS</B></A></FONT></TD>
\r
564 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
565 <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>
\r
566 <A HREF="TextSynthesizer.html" target="_top"><B>NO FRAMES</B></A>
\r
567 <SCRIPT type="text/javascript">
\r
570 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
575 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
581 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
582 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_com.sun.speech.engine.synthesis.BaseSynthesizer">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
583 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
584 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
587 <A NAME="skip-navbar_bottom"></A>
588 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r