org.apache.taglibs.rdc
Class Pause

java.lang.Object
  extended by org.apache.taglibs.rdc.core.BaseModel
      extended by org.apache.taglibs.rdc.Pause
All Implemented Interfaces:
java.io.Serializable

public class Pause
extends BaseModel

Datamodel for the pause RDC. The pause RDC is used to put an RDC based application "on hold". The utterance "resume" will "unpause" the application.

Author:
Rahul Akolkar
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.taglibs.rdc.core.BaseModel
BaseModel.ValueInterpreter
 
Field Summary
 
Fields inherited from class org.apache.taglibs.rdc.core.BaseModel
ambiguousValues, candidates, canonicalizedValue, className, configuration, confirm, confirmed, DEFAULT_INITIAL_GRAMMAR_NAME, DEFAULT_MIN_CONFIDENCE, DEFAULT_NUM_N_BEST, echo, ERR_NO_DEFAULT, ERR_NONE, errorCode, exitStatus, grammars, id, initial, initialGrammar, interpretation, isAmbiguous, isValid, locale, maxNoInput, maxNoMatch, minConfidence, numNBest, paramsMap, PROPERTY_INITIAL_GRAMMAR, rdcLocale, rdcResourceBundle, skipSubmit, state, subdialog, submit, utterance, value
 
Constructor Summary
Pause()
          Sets default values for all data members
 
Method Summary
protected  java.lang.Object canonicalize(java.lang.Object input, boolean isAttribute)
          Return the resumeURI when on the voice browser's "filled" event
 java.lang.String getResumeURI()
          Get the URI where the application will resume after being "unpaused"
 void setResumeURI(java.lang.String string)
          Set the URI where the application will resume after being "unpaused"
 
Methods inherited from class org.apache.taglibs.rdc.core.BaseModel
baseCanonicalize, baseValidate, calculateCanonicalizedValue, getAmbiguousValues, getCandidates, getCanonicalizedValue, getClassName, getConfiguration, getConfirm, getConfirmed, getEcho, getERR_NO_DEFAULT, getERR_NONE, getErrorCode, getExitStatus, getGrammars, getId, getInitial, getInterpretation, getIsAmbiguous, getIsValid, getLocale, getMaxNoInput, getMaxNoMatch, getMinConfidence, getNumNBest, getParamsMap, getRdcLocale, getRdcResourceBundle, getSerializedValue, getSkipSubmit, getState, getSubdialog, getSubmit, getUtterance, getValue, setAmbiguousValues, setCandidates, setCanonicalizedValue, setConfiguration, setConfirm, setConfirmed, setEcho, setErrorCode, setExitStatus, setGrammar, setId, setInitial, setInterpretation, setIsAmbiguous, setIsValid, setLocale, setMaxNoInput, setMaxNoMatch, setMinConfidence, setNumNBest, setSkipSubmit, setState, setSubdialog, setSubmit, setUtterance, setValue, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pause

public Pause()
Sets default values for all data members

Method Detail

getResumeURI

public java.lang.String getResumeURI()
Get the URI where the application will resume after being "unpaused"

Returns:
String the resumeURI

setResumeURI

public void setResumeURI(java.lang.String string)
Set the URI where the application will resume after being "unpaused"

Parameters:
string - The resumeURI

canonicalize

protected java.lang.Object canonicalize(java.lang.Object input,
                                        boolean isAttribute)
Return the resumeURI when on the voice browser's "filled" event

Overrides:
canonicalize in class BaseModel
Parameters:
input - The grammar match from the "resume" grammar
Returns:
The value of pause RDC (which will be the resumeURI as defined in the public contract)


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.