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
10 <META NAME="keywords" CONTENT="com.sun.speech.freetts.Gender 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="Gender (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/freetts/FreeTTSTime.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>
\r
53 <A HREF="../../../../com/sun/speech/freetts/InputMode.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>
\r
56 <A HREF="Gender.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> | CONSTR | <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> | CONSTR | <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.freetts</FONT>
\r
89 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.sun.speech.freetts.Gender</B>
\r
92 <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Comparable</DD>
\r
96 <DT>public class <B>Gender</B><DT>extends java.lang.Object<DT>implements java.lang.Comparable</DL>
\r
99 Provides an enumeration of Gender, following the JSAPI style.
100 (http://java.sun.com/products/java-media/speech/forDevelopers/jsapi-doc/)
102 These are intended for use to define properties about FreeTTS
108 <DT><B>See Also:</B><DD><A HREF="../../../../com/sun/speech/freetts/Voice.html" title="class in com.sun.speech.freetts"><CODE>Voice</CODE></A></DL>
\r
112 <!-- ======== NESTED CLASS SUMMARY ======== -->
\r
115 <!-- =========== FIELD SUMMARY =========== -->
\r
117 <A NAME="field_summary"><!-- --></A>
118 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
119 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
120 <TD COLSPAN=2><FONT SIZE="+2">
\r
121 <B>Field Summary</B></FONT></TD>
\r
123 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
125 <CODE>static <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A></CODE></FONT></TD>
\r
126 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Gender.html#DONT_CARE">DONT_CARE</A></B></CODE>
\r
129 Match against all other genders.</TD>
\r
131 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
133 <CODE>static <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A></CODE></FONT></TD>
\r
134 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Gender.html#FEMALE">FEMALE</A></B></CODE>
\r
137 Female.</TD>
\r
139 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
141 <CODE>static <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A></CODE></FONT></TD>
\r
142 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Gender.html#MALE">MALE</A></B></CODE>
\r
145 Male.</TD>
\r
147 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
149 <CODE>static <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A></CODE></FONT></TD>
\r
150 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Gender.html#NEUTRAL">NEUTRAL</A></B></CODE>
\r
153 Neutral such as a robot or artificial.</TD>
\r
157 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
160 <!-- ========== METHOD SUMMARY =========== -->
\r
162 <A NAME="method_summary"><!-- --></A>
163 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
164 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
165 <TD COLSPAN=2><FONT SIZE="+2">
\r
166 <B>Method Summary</B></FONT></TD>
\r
168 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
170 <CODE> int</CODE></FONT></TD>
\r
171 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Gender.html#compareTo(java.lang.Object)">compareTo</A></B>(java.lang.Object o)</CODE>
\r
174 Compare two genders. </TD>
\r
176 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
178 <CODE> java.lang.String</CODE></FONT></TD>
\r
179 <TD><CODE><B><A HREF="../../../../com/sun/speech/freetts/Gender.html#toString()">toString</A></B>()</CODE>
\r
182 Generates a human readable name describing the gender.</TD>
\r
185 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
186 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
187 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
188 <TD><B>Methods inherited from class java.lang.Object</B></TD>
\r
190 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
191 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
\r
197 <!-- ============ FIELD DETAIL =========== -->
\r
199 <A NAME="field_detail"><!-- --></A>
200 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
201 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
202 <TD COLSPAN=1><FONT SIZE="+2">
\r
203 <B>Field Detail</B></FONT></TD>
\r
207 <A NAME="MALE"><!-- --></A><H3>
\r
210 public static final <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A> <B>MALE</B></PRE>
\r
219 <A NAME="FEMALE"><!-- --></A><H3>
\r
222 public static final <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A> <B>FEMALE</B></PRE>
\r
231 <A NAME="NEUTRAL"><!-- --></A><H3>
\r
234 public static final <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A> <B>NEUTRAL</B></PRE>
\r
236 <DD>Neutral such as a robot or artificial.
\r
243 <A NAME="DONT_CARE"><!-- --></A><H3>
\r
246 public static final <A HREF="../../../../com/sun/speech/freetts/Gender.html" title="class in com.sun.speech.freetts">Gender</A> <B>DONT_CARE</B></PRE>
\r
248 <DD>Match against all other genders.
\r
254 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
257 <!-- ============ METHOD DETAIL ========== -->
\r
259 <A NAME="method_detail"><!-- --></A>
260 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
261 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
262 <TD COLSPAN=1><FONT SIZE="+2">
\r
263 <B>Method Detail</B></FONT></TD>
\r
267 <A NAME="toString()"><!-- --></A><H3>
\r
270 public java.lang.String <B>toString</B>()</PRE>
\r
272 <DD>Generates a human readable name describing the gender.
\r
279 <DT><B>Returns:</B><DD>the name of the gender</DL>
\r
284 <A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
\r
287 public int <B>compareTo</B>(java.lang.Object o)</PRE>
\r
289 <DD>Compare two genders. If either is DONT_CARE, then returns 0.
\r
292 <DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable</CODE></DL>
\r
298 <!-- ========= END OF CLASS DATA ========= -->
\r
302 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
303 <A NAME="navbar_bottom"><!-- --></A>
304 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
305 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
307 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
308 <A NAME="navbar_bottom_firstrow"><!-- --></A>
309 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
310 <TR ALIGN="center" VALIGN="top">
\r
311 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
312 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
313 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
314 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
315 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
316 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
317 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
321 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
327 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
328 <A HREF="../../../../com/sun/speech/freetts/FreeTTSTime.html" title="class in com.sun.speech.freetts"><B>PREV CLASS</B></A>
\r
329 <A HREF="../../../../com/sun/speech/freetts/InputMode.html" title="class in com.sun.speech.freetts"><B>NEXT CLASS</B></A></FONT></TD>
\r
330 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
331 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
\r
332 <A HREF="Gender.html" target="_top"><B>NO FRAMES</B></A>
\r
333 <SCRIPT type="text/javascript">
\r
336 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
341 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
347 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
348 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
349 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
350 DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
353 <A NAME="skip-navbar_bottom"></A>
354 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r