|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.voice.ProcessingBean | +--com.ibm.voice.Speaker
This bean is used for speech synthesis.
Field Summary | |
static int |
AGE_CHILD
Age roughly up to 12 years. |
static int |
AGE_DONT_CARE
Ignore age when performing a match of voices. |
static int |
AGE_MIDDLE_ADULT
Age roughly 40 to 60 years. |
static int |
AGE_NEUTRAL
Voice with age that is indeterminate. |
static int |
AGE_OLDER_ADULT
Age roughly 60 years and up. |
static int |
AGE_TEENAGER
Age roughly 60 years and up. |
static int |
AGE_YOUNGER_ADULT
Age roughly 20 to 40 years. |
static int |
GENDER_DONT_CARE
Ignore gender when performing a match of voices. |
static int |
GENDER_FEMALE
Female voice. |
static int |
GENDER_MALE
Male voice. |
static int |
GENDER_NEUTRAL
Neutral voice that is neither male or female (for example, artificial voices, robotic voices). |
Constructor Summary | |
Speaker()
A default constructor with no arguments. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field. |
void |
addSynthesisErrorListener(SynthesisErrorListener newListener)
Adds a new SynthesisError listener. |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
The firePropertyChange method was generated to support the propertyChange field. |
java.lang.String |
getAboutThisBean()
Returns a special formatted string intended for use by the editor of this property. |
int |
getAge()
Gets the age property (int) value. |
int |
getGender()
Gets the gender property (int) value. |
java.lang.String |
getInputText()
Gets the inputText property (java.lang.String) value. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field. |
void |
removeSynthesisErrorListener(SynthesisErrorListener newListener)
Removes the SynthesisError listener. |
void |
setAboutThisBean(java.lang.String s)
Setter method for the aboutThisBean property to be available in the properties list. |
void |
setAge(int age)
Sets the age property (int) value. |
void |
setGender(int gender)
Sets the gender property (int) value. |
void |
setInputText(java.lang.String inputText)
Sets the inputText property (java.lang.String) value. |
Methods inherited from class com.ibm.voice.ProcessingBean |
addActionErrorListener,
addFetchArgumentsListener,
addTriggerNextActionListener,
removeActionErrorListener,
removeFetchArgumentsListener,
removeTriggerNextActionListener,
triggerAction |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final transient int AGE_CHILD
public static final transient int AGE_TEENAGER
public static final transient int AGE_YOUNGER_ADULT
public static final transient int AGE_MIDDLE_ADULT
public static final transient int AGE_OLDER_ADULT
public static final transient int AGE_NEUTRAL
public static final transient int AGE_DONT_CARE
public static final transient int GENDER_FEMALE
public static final transient int GENDER_MALE
public static final transient int GENDER_NEUTRAL
public static final transient int GENDER_DONT_CARE
Constructor Detail |
public Speaker()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- java.beans.PropertyChangeListenerpublic void addSynthesisErrorListener(SynthesisErrorListener newListener)
newListener
- com.ibm.voice.events.SynthesisErrorListenerpublic void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
propertyName
- java.lang.StringoldValue
- java.lang.ObjectnewValue
- java.lang.Objectpublic java.lang.String getAboutThisBean()
public int getAge()
setAge(int)
public int getGender()
setGender(int)
public java.lang.String getInputText()
setInputText(java.lang.String)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- java.beans.PropertyChangeListenerpublic void removeSynthesisErrorListener(SynthesisErrorListener newListener)
newListener
- com.ibm.voice.events.SynthesisErrorListenerpublic void setAboutThisBean(java.lang.String s)
s
- the special formatted stringpublic void setAge(int age)
age
- The new value for the property.getAge()
public void setGender(int gender)
gender
- The new value for the property.getGender()
public void setInputText(java.lang.String inputText)
inputText
- The new value for the property.getInputText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |