org.jvoicexml.implementation.red5
Class Red5SpokenInputFactory

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

public final class Red5SpokenInputFactory
extends Object
implements ResourceFactory<SpokenInput>

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

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

Constructor Summary
Red5SpokenInputFactory()
          Constructs a new object.
 
Method Summary
 SpokenInput createResource()
          
 int getInstances()
          
 Class<SpokenInput> 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

Red5SpokenInputFactory

public Red5SpokenInputFactory()
Constructs a new object.

Method Detail

createResource

public SpokenInput createResource()
                           throws NoresourceError

Specified by:
createResource in interface ResourceFactory<SpokenInput>
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<SpokenInput>

getType

public String getType()

Specified by:
getType in interface ResourceFactory<SpokenInput>

getResourceType

public Class<SpokenInput> getResourceType()

Specified by:
getResourceType in interface ResourceFactory<SpokenInput>


Copyright © 2010JVoiceXML group.