org.jvoicexml.implementation.text
Class TextSynthesizedOutputFactory

java.lang.Object
  extended by org.jvoicexml.implementation.text.TextSynthesizedOutputFactory
All Implemented Interfaces:
ResourceFactory<SynthesizedOutput>

public final class TextSynthesizedOutputFactory
extends Object
implements ResourceFactory<SynthesizedOutput>

Demo implementation of a ResourceFactory for the SynthesizedOutput based on a simple text interface.

Since:
0.6
Version:
$Revision: 2355 $
Author:
Dirk Schnelle-Walka

Constructor Summary
TextSynthesizedOutputFactory()
          Constructs a new object.
 
Method Summary
 SynthesizedOutput createResource()
          
 int getInstances()
          
 Class<SynthesizedOutput> getResourceType()
          
 String getType()
          
 void setInstances(int number)
          Sets the number of instances that this factory will create.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextSynthesizedOutputFactory

public TextSynthesizedOutputFactory()
Constructs a new object.

Method Detail

createResource

public SynthesizedOutput createResource()
                                 throws NoresourceError

Specified by:
createResource in interface ResourceFactory<SynthesizedOutput>
Throws:
NoresourceError

setInstances

public void setInstances(int number)
Sets the number of instances that this factory will create.

Parameters:
number - Number of instances to create.

getInstances

public int getInstances()

Specified by:
getInstances in interface ResourceFactory<SynthesizedOutput>

getType

public String getType()

Specified by:
getType in interface ResourceFactory<SynthesizedOutput>

getResourceType

public Class<SynthesizedOutput> getResourceType()

Specified by:
getResourceType in interface ResourceFactory<SynthesizedOutput>


Copyright © 2005-2009JVoiceXML group.