org.jvoicexml.implementation.jsapi10
Class JVoiceXmlSynthesizerModeDescFactory

java.lang.Object
  extended by org.jvoicexml.implementation.jsapi10.JVoiceXmlSynthesizerModeDescFactory
All Implemented Interfaces:
SynthesizerModeDescFactory

public final class JVoiceXmlSynthesizerModeDescFactory
extends Object
implements SynthesizerModeDescFactory

A SynthesizerModeDesc that can be read by the configuration.

This is mainly a storage for the settings that can be passed to the constructor of a SynthesizerModeDesc which can be retrieved by the factory method createDescriptor().

Since:
0.6

Copyright © 2007 JVoiceXML group - http://jvoicexml.sourceforge.net/

Version:
$Revision: 2355 $
Author:
Dirk Schnelle

Constructor Summary
JVoiceXmlSynthesizerModeDescFactory()
           
 
Method Summary
 SynthesizerModeDesc createDescriptor()
          Creates a new descriptor.
 void setEngineName(String name)
          Sets the engine name.
 void setLocale(Locale loc)
          Sets the locale.
 void setModeName(String name)
          Sets the mode name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JVoiceXmlSynthesizerModeDescFactory

public JVoiceXmlSynthesizerModeDescFactory()
Method Detail

createDescriptor

public SynthesizerModeDesc createDescriptor()
Creates a new descriptor.

Specified by:
createDescriptor in interface SynthesizerModeDescFactory
Returns:
configured descriptor.

setEngineName

public void setEngineName(String name)
Sets the engine name.

Parameters:
name - the engine name to set

setLocale

public void setLocale(Locale loc)
Sets the locale.

Parameters:
loc - the locale to set.

setModeName

public void setModeName(String name)
Sets the mode name.

Parameters:
name - the mode name to set


Copyright © 2005-2009JVoiceXML group.