|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.taglibs.rdc.core.BaseModel org.apache.taglibs.rdc.core.ComponentModel
public class ComponentModel
This is the base class for component models of composite RDCs.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.taglibs.rdc.core.BaseModel |
---|
BaseModel.ValueInterpreter |
Field Summary | |
---|---|
protected java.lang.String |
config
|
protected java.util.Map |
configMap
|
protected javax.servlet.jsp.JspContext |
context
|
protected java.util.Map |
localMap
|
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 | |
---|---|
ComponentModel()
|
Method Summary | |
---|---|
protected void |
configHandler()
Hook for subclasses to interpret the config attribute |
java.util.Map |
getConfigMap()
Get the map of configuration file URIs |
java.util.Map |
getLocalMap()
Get the map of child RDC datamodels |
void |
setConfig(java.lang.String newConfig)
Set the configuration URI |
void |
setConfigMap(java.util.Map configMap)
Set the map of configuration file URI of child RDCs |
void |
setContext(javax.servlet.jsp.JspContext ctx)
Set the context in which this component is executing |
void |
setLocalMap(java.util.Map localMap)
Set the map of child RDC datamodels |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map localMap
protected java.util.Map configMap
protected java.lang.String config
protected javax.servlet.jsp.JspContext context
Constructor Detail |
---|
public ComponentModel()
Method Detail |
---|
public java.util.Map getLocalMap()
public void setLocalMap(java.util.Map localMap)
localMap
- The map of child RDC datamodelspublic java.util.Map getConfigMap()
public void setConfigMap(java.util.Map configMap)
configMap
- The map of configuration file URI of child RDCspublic void setContext(javax.servlet.jsp.JspContext ctx)
ctx
- The JspContextpublic void setConfig(java.lang.String newConfig)
newConfig
- The new configuration file URIprotected void configHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |