|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectVoice
com.sun.speech.engine.synthesis.BaseVoice
com.sun.speech.freetts.jsapi.FreeTTSVoice
public class FreeTTSVoice
Extends the BaseVoice class to encapsulate FreeTTSSynthesizer specific data.
Field Summary |
---|
Fields inherited from class com.sun.speech.engine.synthesis.BaseVoice |
---|
defaultPitch, defaultPitchRange, defaultSpeakingRate, defaultVolume, voiceId |
Constructor Summary | |
---|---|
FreeTTSVoice(Voice freettsVoice,
java.lang.String validatorName)
Constructs a FreeTTSVoice |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a copy of this BaseVoice . |
java.lang.String |
getId()
Gets the id for this voice. |
Voice |
getVoice()
Gets a FreeTTS com.sun.speech.freetts.Voice from this JSAPI voice |
void |
setId(java.lang.String id)
Sets the id for this voice. |
java.lang.String |
toString()
Gets a string representation of the object |
void |
validate()
Validates this FreeTTSVoice. |
Methods inherited from class com.sun.speech.engine.synthesis.BaseVoice |
---|
getPitch, getPitchRange, getSpeakingRate, getVolume |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FreeTTSVoice(Voice freettsVoice, java.lang.String validatorName)
freettsVoice
- the freetts voicevalidatorName
- the classname of the validator to useMethod Detail |
---|
public java.lang.String getId()
getId
in class BaseVoice
BaseVoice.setId(java.lang.String)
public java.lang.String toString()
toString
in class BaseVoice
public Voice getVoice()
public void setId(java.lang.String id)
setId
in class BaseVoice
id
- the new idBaseVoice.getId()
public java.lang.Object clone()
BaseVoice
.
clone
in class BaseVoice
public void validate() throws ValidationException
ValidationException
- if this FreeTTSVoice is invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |