|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputModule
InputModule specifies an interface for components that provide access to individual attributes e.g. request parameters, request attributes, session attributes &c.
| Field Summary | |
|---|---|
static String |
ROLE
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name,
Configuration modeConf,
Map objectModel)
Standard access to an attribute's value. |
Iterator |
getAttributeNames(Configuration modeConf,
Map objectModel)
Returns an Iterator of String objects containing the names of the attributes available. |
Object[] |
getAttributeValues(String name,
Configuration modeConf,
Map objectModel)
Returns an array of String objects containing all of the values the given attribute has, or null if the attribute does not exist. |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
Object getAttribute(String name,
Configuration modeConf,
Map objectModel)
throws ConfigurationException
getAttributeValues(String, Configuration, Map) or
getAttributeNames(Configuration, Map) and
getAttribute(String, Configuration, Map) to get them one by one.
name - a String that specifies what the caller thinks
would identify an attribute. This is mainly a fallback if no
modeConf is present.modeConf - column's mode configuration from resource
description. This argument is optional.objectModel -
ConfigurationException
Iterator getAttributeNames(Configuration modeConf,
Map objectModel)
throws ConfigurationException
modeConf - column's mode configuration from resource
description. This argument is optional.objectModel -
ConfigurationException
Object[] getAttributeValues(String name,
Configuration modeConf,
Map objectModel)
throws ConfigurationException
getAttributeNames(Configuration, Map) together with
getAttribute(String, Configuration, Map) can be used to get the
values one by one.
name - a String that specifies what the caller thinks
would identify an attributes. This is mainly a fallback
if no modeConf is present.modeConf - column's mode configuration from resource
description. This argument is optional.objectModel -
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||