org.jvoicexml.implementation.red5
Class Red5SynthesizedOutputFactory

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

public final class Red5SynthesizedOutputFactory
extends Object
implements ResourceFactory<SynthesizedOutput>

Demo implementation of a ResourceFactory for the SynthesizedOutput based on JSAPI 2.0.

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

Constructor Summary
Red5SynthesizedOutputFactory()
          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

Red5SynthesizedOutputFactory

public Red5SynthesizedOutputFactory()
Constructs a new object.

Parameters:
engineFactory - class name of the engine list factory.
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 © 2010JVoiceXML group.