|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.speakright.core.FlowBase
org.speakright.core.flows.BasicFlow
org.speakright.core.tests.ValFlow
public class ValFlow
| Field Summary |
|---|
| Fields inherited from class org.speakright.core.flows.BasicFlow |
|---|
m_L |
| Constructor Summary | |
|---|---|
ValFlow(java.lang.String name)
|
|
| Method Summary | |
|---|---|
boolean |
validateInput(java.lang.String input,
SRResults results)
The default implementation is to return true. |
| Methods inherited from class org.speakright.core.flows.BasicFlow |
|---|
add, addPromptFlow, findSubFlow, getFirst, getNext, getSubFlowAfter, SubFlowCount |
| Methods inherited from class org.speakright.core.FlowBase |
|---|
createRenderer, execute, executionCount, fixupGrammar, fixupPrompt, log, logError, name, onBegin, onCatch, onComplete, onDisconnect, onEnd, onNoInput, onPlatformError, onTransferFailed, onValidateFailed, promptGroup, setExecutionCount, setName, setPromptGroup, shouldExecute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValFlow(java.lang.String name)
| Method Detail |
|---|
public boolean validateInput(java.lang.String input,
SRResults results)
FlowBase
validateInput in interface IFlowvalidateInput in class FlowBaseinput - String value of the user input. For simple, single-value inputs, input
is sufficient. For more complicated user inputs, use the SML in results.results - Results containing the user input, including the SML, confidence vales, and
NBest information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||