org.csapi.jr.se.ui
Class UISynthesisInfoData

java.lang.Object
  extended byorg.csapi.jr.se.ui.UISynthesisInfoData
All Implemented Interfaces:
java.io.Serializable

public final class UISynthesisInfoData
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that specify the information to use in generating the desired effects on the generated voice. The speech synthesis parameters or processing tags will be interpreted as hints and may be ignored by the speech synthesis engine. Note that the language is specified on the sendInfoReq() and sendInfoAndCollectReq() method calls. The TextData field may contain the following tags to affect the processing of the text. The tag specifies a timing pause. The tag specifies an emphasis on a word or phrase. // specifies a timing pause in the // middle of the text in milliseconds A word // apply emphasis to a word or words

See Also:
Serialized Form

Constructor Summary
UISynthesisInfoData()
          Creates a new UISynthesisInfoData instance.
UISynthesisInfoData(UISynthesisGender _speakerGender, UISynthesisAge _speakerAge, UISynthesisRate _speakerRate, UISynthesisRange _speakerRange, java.lang.String _textData, UIWordOverride[] _wordOverrideSet)
          Creates a new UISynthesisInfoData instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 UISynthesisAge getSpeakerAge()
          This method returns a speakerAge.
 UISynthesisGender getSpeakerGender()
          This method returns a speakerGender.
 UISynthesisRange getSpeakerRange()
          This method returns a speakerRange.
 UISynthesisRate getSpeakerRate()
          This method returns a speakerRate.
 java.lang.String getTextData()
          This method returns a textData.
 UIWordOverride[] getWordOverrideSet()
          This method returns a wordOverrideSet.
 int hashCode()
          Returns a hashcode value for the object.
 void setSpeakerAge(UISynthesisAge speakerAge)
          This method sets a speakerAge.
 void setSpeakerGender(UISynthesisGender speakerGender)
          This method sets a speakerGender.
 void setSpeakerRange(UISynthesisRange speakerRange)
          This method sets a speakerRange.
 void setSpeakerRate(UISynthesisRate speakerRate)
          This method sets a speakerRate.
 void setTextData(java.lang.String textData)
          This method sets a textData.
 void setWordOverrideSet(UIWordOverride[] wordOverrideSet)
          This method sets a wordOverrideSet.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UISynthesisInfoData

public UISynthesisInfoData()
Creates a new UISynthesisInfoData instance.


UISynthesisInfoData

public UISynthesisInfoData(UISynthesisGender _speakerGender,
                           UISynthesisAge _speakerAge,
                           UISynthesisRate _speakerRate,
                           UISynthesisRange _speakerRange,
                           java.lang.String _textData,
                           UIWordOverride[] _wordOverrideSet)
Creates a new UISynthesisInfoData instance.

Parameters:
_speakerGender - Defines the gender of the speaker.
_speakerAge - Defines the age of the speaker.
_speakerRate - Defines the rate of the speaker.
_speakerRange - Defines the range of the speaker.
_textData - Defines the text to synthesize into speech.
_wordOverrideSet - Defines the pronunciation overrides.
Method Detail

getSpeakerGender

public UISynthesisGender getSpeakerGender()
This method returns a speakerGender.

Returns:
a org.csapi.jr.se.ui.UISynthesisGender value

getSpeakerAge

public UISynthesisAge getSpeakerAge()
This method returns a speakerAge.

Returns:
a org.csapi.jr.se.ui.UISynthesisAge value

getSpeakerRate

public UISynthesisRate getSpeakerRate()
This method returns a speakerRate.

Returns:
a org.csapi.jr.se.ui.UISynthesisRate value

getSpeakerRange

public UISynthesisRange getSpeakerRange()
This method returns a speakerRange.

Returns:
a org.csapi.jr.se.ui.UISynthesisRange value

getTextData

public java.lang.String getTextData()
This method returns a textData.

Returns:
a String value

getWordOverrideSet

public UIWordOverride[] getWordOverrideSet()
This method returns a wordOverrideSet.

Returns:
a org.csapi.jr.se.ui.UIWordOverride[] value

setSpeakerGender

public void setSpeakerGender(UISynthesisGender speakerGender)
This method sets a speakerGender.


setSpeakerAge

public void setSpeakerAge(UISynthesisAge speakerAge)
This method sets a speakerAge.


setSpeakerRate

public void setSpeakerRate(UISynthesisRate speakerRate)
This method sets a speakerRate.


setSpeakerRange

public void setSpeakerRange(UISynthesisRange speakerRange)
This method sets a speakerRange.


setTextData

public void setTextData(java.lang.String textData)
This method sets a textData.


setWordOverrideSet

public void setWordOverrideSet(UIWordOverride[] wordOverrideSet)
This method sets a wordOverrideSet.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.