|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvoicexml.implementation.mary.MarySynthesizedOutputFactory
public class MarySynthesizedOutputFactory
implementation of a.
ResourceFactory for the
SynthesizedOutput based on MaryTTS
| Constructor Summary | |
|---|---|
MarySynthesizedOutputFactory()
|
|
| Method Summary | |
|---|---|
SynthesizedOutput |
createResource()
|
int |
getInstances()
|
Class<SynthesizedOutput> |
getResourceType()
|
String |
getType()
|
void |
setAudioType(String value)
Sets the type of the audio. |
void |
setInstances(int number)
Sets the number of instances that this factory will create. |
void |
setLang(String value)
Sets the language. |
void |
setType(String resourceType)
Sets the type of the resource. |
void |
setVoiceName(String name)
Sets the voice that will be used from Mary server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MarySynthesizedOutputFactory()
| Method Detail |
|---|
public final SynthesizedOutput createResource()
throws NoresourceError
createResource in interface ResourceFactory<SynthesizedOutput>NoresourceErrorpublic final int getInstances()
getInstances in interface ResourceFactory<SynthesizedOutput>public final Class<SynthesizedOutput> getResourceType()
getResourceType in interface ResourceFactory<SynthesizedOutput>public final String getType()
getType in interface ResourceFactory<SynthesizedOutput>public final void setInstances(int number)
number - Number of instances to create.public final void setType(String resourceType)
resourceType - type of the resource.public final void setAudioType(String value)
value - type of the audio.public final void setVoiceName(String name)
name - voice name.public final void setLang(String value)
value - the new language
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||