|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary java.util.Hashtable org.apache.jetspeed.util.BaseConfig
Defines a standard object configuration A Config provides the parameters passed in the current request as well as init parameters.
Constructor Summary | |
BaseConfig()
|
Method Summary | |
void |
addInitParameters(java.util.Map init_params)
Used to override Portlet's parameters. |
java.lang.String |
getInitParameter(java.lang.String name)
Returns a parameter (or null) that was given the controller. |
java.lang.String |
getInitParameter(java.lang.String name,
java.lang.String defaultValue)
Returns a parameter (or defaultValue) that was given the controller. |
java.util.Iterator |
getInitParameterNames()
Returns the parameter names of this Config. |
java.util.Map |
getInitParameters()
Retrieves the PortletController parameters |
java.lang.String |
getName()
Returns the name for this configuration |
void |
setInitParameter(java.lang.String name,
java.lang.Object value)
Used to define a PortletController's parameter.if value is null, removes the key from the stored properties |
void |
setInitParameters(java.util.Map init_params)
Used to define a Portlet's parameters. |
void |
setName(java.lang.String name)
Sets the name of this configuration |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaseConfig()
Method Detail |
public java.lang.String getName()
getName
in interface Config
public void setName(java.lang.String name)
setName
in interface Config
public void setInitParameters(java.util.Map init_params)
setInitParameters
in interface Config
public void addInitParameters(java.util.Map init_params)
addInitParameters
in interface Config
public java.util.Map getInitParameters()
getInitParameters
in interface Config
public void setInitParameter(java.lang.String name, java.lang.Object value)
setInitParameter
in interface Config
public java.lang.String getInitParameter(java.lang.String name)
getInitParameter
in interface Config
public java.lang.String getInitParameter(java.lang.String name, java.lang.String defaultValue)
getInitParameter
in interface Config
public java.util.Iterator getInitParameterNames()
getInitParameterNames
in interface Config
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |