upstream version 1.2.2
[debian/freetts] / javadoc / com / sun / speech / freetts / Token.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <!--NewPage-->\r
3 <HTML>\r
4 <HEAD>\r
5 <!-- Generated by javadoc (build 1.4.2_16) on Mon Mar 09 18:20:29 CET 2009 -->\r
6 <TITLE>\r
7 Token (FreeTTS 1.2)\r
8 </TITLE>\r
9 \r
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.Token class">\r
11 \r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">\r
13 \r
14 <SCRIPT type="text/javascript">\r
15 function windowTitle()\r
16 {\r
17     parent.document.title="Token (FreeTTS 1.2)";\r
18 }\r
19 </SCRIPT>\r
20 \r
21 </HEAD>\r
22 \r
23 <BODY BGCOLOR="white" onload="windowTitle();">\r
24 \r
25
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
30 <TR>\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>&nbsp;</TD>\r
36   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
37   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
39   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
42   </TR>\r
43 </TABLE>\r
44 </TD>\r
45 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
46 </EM>\r
47 </TD>\r
48 </TR>\r
49 \r
50 <TR>\r
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
52 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Segmenter.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
53 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts"><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>  &nbsp;\r
56 &nbsp;<A HREF="Token.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
57 &nbsp;<SCRIPT type="text/javascript">\r
58   <!--\r
59   if(window==top) {\r
60     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
61   }\r
62   //-->\r
63 </SCRIPT>\r
64 <NOSCRIPT>\r
65   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
66 </NOSCRIPT>
67 \r
68 </FONT></TD>\r
69 </TR>\r
70 <TR>\r
71 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
72   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
74 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
75 </TR>\r
76 </TABLE>\r
77 <A NAME="skip-navbar_top"></A>
78 <!-- ========= END OF TOP NAVBAR ========= -->\r
79 \r
80 <HR>\r
81 <!-- ======== START OF CLASS DATA ======== -->\r
82 <H2>\r
83 <FONT SIZE="-1">\r
84 com.sun.speech.freetts</FONT>\r
85 <BR>\r
86 Class Token</H2>\r
87 <PRE>\r
88 java.lang.Object\r
89   <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.Token</B>\r
90 </PRE>\r
91 <HR>\r
92 <DL>\r
93 <DT>public class <B>Token</B><DT>extends java.lang.Object</DL>\r
94 \r
95 <P>\r
96 Contains a parsed token from a Tokenizer.\r
97 <P>\r
98 \r
99 <P>\r
100 <HR>\r
101 \r
102 <P>\r
103 <!-- ======== NESTED CLASS SUMMARY ======== -->\r
104 \r
105 \r
106 <!-- =========== FIELD SUMMARY =========== -->\r
107 \r
108 \r
109 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
110 \r
111 <A NAME="constructor_summary"><!-- --></A>
112 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
113 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
114 <TD COLSPAN=2><FONT SIZE="+2">\r
115 <B>Constructor Summary</B></FONT></TD>\r
116 </TR>\r
117 <TR BGCOLOR="white" CLASS="TableRowColor">\r
118 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#Token()">Token</A></B>()</CODE>\r
119 \r
120 <BR>\r
121 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
122 </TR>\r
123 </TABLE>\r
124 &nbsp;\r
125 <!-- ========== METHOD SUMMARY =========== -->\r
126 \r
127 <A NAME="method_summary"><!-- --></A>
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
129 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
130 <TD COLSPAN=2><FONT SIZE="+2">\r
131 <B>Method Summary</B></FONT></TD>\r
132 </TR>\r
133 <TR BGCOLOR="white" CLASS="TableRowColor">\r
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
135 <CODE>&nbsp;int</CODE></FONT></TD>\r
136 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#getLineNumber()">getLineNumber</A></B>()</CODE>\r
137 \r
138 <BR>\r
139 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the line of this token in the original text.</TD>\r
140 </TR>\r
141 <TR BGCOLOR="white" CLASS="TableRowColor">\r
142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
143 <CODE>&nbsp;int</CODE></FONT></TD>\r
144 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#getPosition()">getPosition</A></B>()</CODE>\r
145 \r
146 <BR>\r
147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of this token in the original input text.</TD>\r
148 </TR>\r
149 <TR BGCOLOR="white" CLASS="TableRowColor">\r
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
151 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
152 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#getPostpunctuation()">getPostpunctuation</A></B>()</CODE>\r
153 \r
154 <BR>\r
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the postpunctuation characters of this Token.</TD>\r
156 </TR>\r
157 <TR BGCOLOR="white" CLASS="TableRowColor">\r
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
159 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
160 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#getPrepunctuation()">getPrepunctuation</A></B>()</CODE>\r
161 \r
162 <BR>\r
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the prepunctuation characters of this Token.</TD>\r
164 </TR>\r
165 <TR BGCOLOR="white" CLASS="TableRowColor">\r
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
167 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
168 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#getWhitespace()">getWhitespace</A></B>()</CODE>\r
169 \r
170 <BR>\r
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the whitespace characters of this Token.</TD>\r
172 </TR>\r
173 <TR BGCOLOR="white" CLASS="TableRowColor">\r
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
175 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
176 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#getWord()">getWord</A></B>()</CODE>\r
177 \r
178 <BR>\r
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the string associated with this token.</TD>\r
180 </TR>\r
181 <TR BGCOLOR="white" CLASS="TableRowColor">\r
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
183 <CODE>&nbsp;void</CODE></FONT></TD>\r
184 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#setLineNumber(int)">setLineNumber</A></B>(int&nbsp;lineNumber)</CODE>\r
185 \r
186 <BR>\r
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the line of this token in the original text.</TD>\r
188 </TR>\r
189 <TR BGCOLOR="white" CLASS="TableRowColor">\r
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
191 <CODE>&nbsp;void</CODE></FONT></TD>\r
192 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#setPosition(int)">setPosition</A></B>(int&nbsp;position)</CODE>\r
193 \r
194 <BR>\r
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the position of the token in the original input text.</TD>\r
196 </TR>\r
197 <TR BGCOLOR="white" CLASS="TableRowColor">\r
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
199 <CODE>&nbsp;void</CODE></FONT></TD>\r
200 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#setPostpunctuation(java.lang.String)">setPostpunctuation</A></B>(java.lang.String&nbsp;postpunctuation)</CODE>\r
201 \r
202 <BR>\r
203 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the postpunctuation characters of this Token.</TD>\r
204 </TR>\r
205 <TR BGCOLOR="white" CLASS="TableRowColor">\r
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
207 <CODE>&nbsp;void</CODE></FONT></TD>\r
208 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#setPrepunctuation(java.lang.String)">setPrepunctuation</A></B>(java.lang.String&nbsp;prepunctuation)</CODE>\r
209 \r
210 <BR>\r
211 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the prepunctuation characters of this Token.</TD>\r
212 </TR>\r
213 <TR BGCOLOR="white" CLASS="TableRowColor">\r
214 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
215 <CODE>&nbsp;void</CODE></FONT></TD>\r
216 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#setWhitespace(java.lang.String)">setWhitespace</A></B>(java.lang.String&nbsp;whitespace)</CODE>\r
217 \r
218 <BR>\r
219 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the whitespace characters of this Token.</TD>\r
220 </TR>\r
221 <TR BGCOLOR="white" CLASS="TableRowColor">\r
222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
223 <CODE>&nbsp;void</CODE></FONT></TD>\r
224 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#setWord(java.lang.String)">setWord</A></B>(java.lang.String&nbsp;word)</CODE>\r
225 \r
226 <BR>\r
227 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the string of this Token.</TD>\r
228 </TR>\r
229 <TR BGCOLOR="white" CLASS="TableRowColor">\r
230 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
231 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
232 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Token.html#toString()">toString</A></B>()</CODE>\r
233 \r
234 <BR>\r
235 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts this token to a string.</TD>\r
236 </TR>\r
237 </TABLE>\r
238 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
239 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
240 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
241 <TD><B>Methods inherited from class java.lang.Object</B></TD>\r
242 </TR>\r
243 <TR BGCOLOR="white" CLASS="TableRowColor">\r
244 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>\r
245 </TR>\r
246 </TABLE>\r
247 &nbsp;\r
248 <P>\r
249 \r
250 <!-- ============ FIELD DETAIL =========== -->\r
251 \r
252 \r
253 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
254 \r
255 <A NAME="constructor_detail"><!-- --></A>
256 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
257 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
258 <TD COLSPAN=1><FONT SIZE="+2">\r
259 <B>Constructor Detail</B></FONT></TD>\r
260 </TR>\r
261 </TABLE>\r
262 \r
263 <A NAME="Token()"><!-- --></A><H3>\r
264 Token</H3>\r
265 <PRE>\r
266 public <B>Token</B>()</PRE>\r
267 <DL>\r
268 </DL>\r
269 \r
270 <!-- ============ METHOD DETAIL ========== -->\r
271 \r
272 <A NAME="method_detail"><!-- --></A>
273 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
274 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
275 <TD COLSPAN=1><FONT SIZE="+2">\r
276 <B>Method Detail</B></FONT></TD>\r
277 </TR>\r
278 </TABLE>\r
279 \r
280 <A NAME="getWhitespace()"><!-- --></A><H3>\r
281 getWhitespace</H3>\r
282 <PRE>\r
283 public java.lang.String <B>getWhitespace</B>()</PRE>\r
284 <DL>\r
285 <DD>Returns the whitespace characters of this Token.\r
286 <P>\r
287 <DD><DL>\r
288
289 <DT><B>Returns:</B><DD>the whitespace characters of this Token;
290    null if this Token does not use whitespace characters</DL>\r
291 </DD>\r
292 </DL>\r
293 <HR>\r
294 \r
295 <A NAME="getPrepunctuation()"><!-- --></A><H3>\r
296 getPrepunctuation</H3>\r
297 <PRE>\r
298 public java.lang.String <B>getPrepunctuation</B>()</PRE>\r
299 <DL>\r
300 <DD>Returns the prepunctuation characters of this Token.\r
301 <P>\r
302 <DD><DL>\r
303
304 <DT><B>Returns:</B><DD>the prepunctuation characters of this Token;
305    null if this Token does not use prepunctuation characters</DL>\r
306 </DD>\r
307 </DL>\r
308 <HR>\r
309 \r
310 <A NAME="getPostpunctuation()"><!-- --></A><H3>\r
311 getPostpunctuation</H3>\r
312 <PRE>\r
313 public java.lang.String <B>getPostpunctuation</B>()</PRE>\r
314 <DL>\r
315 <DD>Returns the postpunctuation characters of this Token.\r
316 <P>\r
317 <DD><DL>\r
318
319 <DT><B>Returns:</B><DD>the postpunctuation characters of this Token;
320    null if this Token does not use postpunctuation characters</DL>\r
321 </DD>\r
322 </DL>\r
323 <HR>\r
324 \r
325 <A NAME="getPosition()"><!-- --></A><H3>\r
326 getPosition</H3>\r
327 <PRE>\r
328 public int <B>getPosition</B>()</PRE>\r
329 <DL>\r
330 <DD>Returns the position of this token in the original input text.\r
331 <P>\r
332 <DD><DL>\r
333
334 <DT><B>Returns:</B><DD>the position of this token in the original input text</DL>\r
335 </DD>\r
336 </DL>\r
337 <HR>\r
338 \r
339 <A NAME="getLineNumber()"><!-- --></A><H3>\r
340 getLineNumber</H3>\r
341 <PRE>\r
342 public int <B>getLineNumber</B>()</PRE>\r
343 <DL>\r
344 <DD>Returns the line of this token in the original text.\r
345 <P>\r
346 <DD><DL>\r
347
348 <DT><B>Returns:</B><DD>the line of this token in the original text</DL>\r
349 </DD>\r
350 </DL>\r
351 <HR>\r
352 \r
353 <A NAME="setWhitespace(java.lang.String)"><!-- --></A><H3>\r
354 setWhitespace</H3>\r
355 <PRE>\r
356 public void <B>setWhitespace</B>(java.lang.String&nbsp;whitespace)</PRE>\r
357 <DL>\r
358 <DD>Sets the whitespace characters of this Token.\r
359 <P>\r
360 <DD><DL>\r
361 <DT><B>Parameters:</B><DD><CODE>whitespace</CODE> - the whitespace character for this token</DL>\r
362 </DD>\r
363 </DL>\r
364 <HR>\r
365 \r
366 <A NAME="setPrepunctuation(java.lang.String)"><!-- --></A><H3>\r
367 setPrepunctuation</H3>\r
368 <PRE>\r
369 public void <B>setPrepunctuation</B>(java.lang.String&nbsp;prepunctuation)</PRE>\r
370 <DL>\r
371 <DD>Sets the prepunctuation characters of this Token.\r
372 <P>\r
373 <DD><DL>\r
374 <DT><B>Parameters:</B><DD><CODE>prepunctuation</CODE> - the prepunctuation characters</DL>\r
375 </DD>\r
376 </DL>\r
377 <HR>\r
378 \r
379 <A NAME="setPostpunctuation(java.lang.String)"><!-- --></A><H3>\r
380 setPostpunctuation</H3>\r
381 <PRE>\r
382 public void <B>setPostpunctuation</B>(java.lang.String&nbsp;postpunctuation)</PRE>\r
383 <DL>\r
384 <DD>Sets the postpunctuation characters of this Token.\r
385 <P>\r
386 <DD><DL>\r
387 <DT><B>Parameters:</B><DD><CODE>postpunctuation</CODE> - the postpunctuation characters</DL>\r
388 </DD>\r
389 </DL>\r
390 <HR>\r
391 \r
392 <A NAME="setPosition(int)"><!-- --></A><H3>\r
393 setPosition</H3>\r
394 <PRE>\r
395 public void <B>setPosition</B>(int&nbsp;position)</PRE>\r
396 <DL>\r
397 <DD>Sets the position of the token in the original input text.\r
398 <P>\r
399 <DD><DL>\r
400 <DT><B>Parameters:</B><DD><CODE>position</CODE> - the position of the input text</DL>\r
401 </DD>\r
402 </DL>\r
403 <HR>\r
404 \r
405 <A NAME="setLineNumber(int)"><!-- --></A><H3>\r
406 setLineNumber</H3>\r
407 <PRE>\r
408 public void <B>setLineNumber</B>(int&nbsp;lineNumber)</PRE>\r
409 <DL>\r
410 <DD>Set the line of this token in the original text.\r
411 <P>\r
412 <DD><DL>\r
413 <DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - the line of this token in the original text</DL>\r
414 </DD>\r
415 </DL>\r
416 <HR>\r
417 \r
418 <A NAME="getWord()"><!-- --></A><H3>\r
419 getWord</H3>\r
420 <PRE>\r
421 public java.lang.String <B>getWord</B>()</PRE>\r
422 <DL>\r
423 <DD>Returns the string associated with this token.\r
424 <P>\r
425 <DD><DL>\r
426
427 <DT><B>Returns:</B><DD>the token if it exists; otherwise null</DL>\r
428 </DD>\r
429 </DL>\r
430 <HR>\r
431 \r
432 <A NAME="setWord(java.lang.String)"><!-- --></A><H3>\r
433 setWord</H3>\r
434 <PRE>\r
435 public void <B>setWord</B>(java.lang.String&nbsp;word)</PRE>\r
436 <DL>\r
437 <DD>Sets the string of this Token.\r
438 <P>\r
439 <DD><DL>\r
440 <DT><B>Parameters:</B><DD><CODE>word</CODE> - the word for this token</DL>\r
441 </DD>\r
442 </DL>\r
443 <HR>\r
444 \r
445 <A NAME="toString()"><!-- --></A><H3>\r
446 toString</H3>\r
447 <PRE>\r
448 public java.lang.String <B>toString</B>()</PRE>\r
449 <DL>\r
450 <DD>Converts this token to a string.\r
451 <P>\r
452 <DD><DL>\r
453
454 <DT><B>Returns:</B><DD>the string representation of this object</DL>\r
455 </DD>\r
456 </DL>\r
457 <!-- ========= END OF CLASS DATA ========= -->\r
458 <HR>\r
459 \r
460
461 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
462 <A NAME="navbar_bottom"><!-- --></A>
463 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
464 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
465 <TR>\r
466 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
467 <A NAME="navbar_bottom_firstrow"><!-- --></A>
468 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
469   <TR ALIGN="center" VALIGN="top">\r
470   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
471   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
472   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
473   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
474   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
475   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
476   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
477   </TR>\r
478 </TABLE>\r
479 </TD>\r
480 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
481 </EM>\r
482 </TD>\r
483 </TR>\r
484 \r
485 <TR>\r
486 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
487 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Segmenter.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>&nbsp;\r
488 &nbsp;<A HREF="../../../../com/sun/speech/freetts/Utterance.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>\r
489 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
490   <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
491 &nbsp;<A HREF="Token.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
492 &nbsp;<SCRIPT type="text/javascript">\r
493   <!--\r
494   if(window==top) {\r
495     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
496   }\r
497   //-->\r
498 </SCRIPT>\r
499 <NOSCRIPT>\r
500   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>\r
501 </NOSCRIPT>
502 \r
503 </FONT></TD>\r
504 </TR>\r
505 <TR>\r
506 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
507   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
508 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
509 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
510 </TR>\r
511 </TABLE>\r
512 <A NAME="skip-navbar_bottom"></A>
513 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
514 \r
515 <HR>\r
516 \r
517 </BODY>\r
518 </HTML>\r