|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.implementation.jsapi10.jvxml.SpokenInputFactory
public final class SpokenInputFactory
Demo implementation of a
ResourceFactory for the
SpokenInput based on JSAPI 1.0.
Copyright © 2006 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
SpokenInputFactory()
Constructs a new object. |
|
| Method Summary | |
|---|---|
SpokenInput |
createResource()
Factory method to create a resource. |
RecognizerModeDesc |
getEngineProperties()
Get the required engine properties. |
int |
getInstances()
Retrieves the number of instances, that this factory will create using ResourceFactory.createResource(). |
String |
getType()
Retrieves the type of the resources that are created by this factory. |
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 |
|---|
public SpokenInputFactory()
| Method Detail |
|---|
public SpokenInput createResource()
throws NoresourceError
createResource in interface ResourceFactory<SpokenInput>NoresourceError - error creating the requested resource.public void setInstances(int number)
number - Number of instances to create.public int getInstances()
ResourceFactory.createResource().
getInstances in interface ResourceFactory<SpokenInput>public String getType()
getType in interface ResourceFactory<SpokenInput>public RecognizerModeDesc getEngineProperties()
null for default
engine selection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||