|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsConfigurationParameterHandler
Used for classes that are configurable using
<param name="name">value</param>
in the XML configuration.
Such "param" nodes can be used to add some arbitrary names parameters to classes that otherwise share the same XML configuration.
Field Summary | |
---|---|
static String |
ADD_PARAMETER_METHOD
The name of the addConfigurationParameter() method. |
static String |
INIT_CONFIGURATION_METHOD
The name of the initConfiguration() method. |
Method Summary | |
---|---|
void |
addConfigurationParameter(String paramName,
String paramValue)
Adds a configuration parameter to this parameter configurable class instance. |
CmsParameterConfiguration |
getConfiguration()
Returns the parameters of this configurable class instance, or null if the class does not need any parameters. |
void |
initConfiguration()
Initializes a configuration after all parameters have been added. |
Field Detail |
---|
static final String ADD_PARAMETER_METHOD
static final String INIT_CONFIGURATION_METHOD
Method Detail |
---|
void addConfigurationParameter(String paramName, String paramValue)
paramName
- the name of the parameterparamValue
- the value for the parameterCmsParameterConfiguration getConfiguration()
null
if the class does not need any parameters.
null
if the class does not need any parametersvoid initConfiguration() throws CmsConfigurationException
CmsConfigurationException
- if something goes wrong
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |