|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvoicexml.implementation.red5.Red5SpokenInputFactory
public final class Red5SpokenInputFactory
Demo implementation of a ResourceFactory
for the SpokenInput based on JSAPI 2.0.
| 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 |
|---|
public Red5SpokenInputFactory()
| Method Detail |
|---|
public SpokenInput createResource()
throws NoresourceError
createResource in interface ResourceFactory<SpokenInput>NoresourceErrorpublic void setInstances(int number)
number - Number of instances to create.public int getInstances()
getInstances in interface ResourceFactory<SpokenInput>public String getType()
getType in interface ResourceFactory<SpokenInput>public Class<SpokenInput> getResourceType()
getResourceType in interface ResourceFactory<SpokenInput>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||