|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.parameters.Parameters
org.apache.cocoon.objectmodel.helper.ParametersMap
Wrapper class for Parameters class that exposes parameters through Map interface.
Use this wrapper if you want to put Parameters in ObjectModel.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
Map.Entry |
| Field Summary | |
protected Map |
map
|
protected Parameters |
wrappedParameters
|
| Fields inherited from class org.apache.avalon.framework.parameters.Parameters |
EMPTY_PARAMETERS |
| Constructor Summary | |
ParametersMap(Parameters wrapped)
|
|
| Methods inherited from class org.apache.avalon.framework.parameters.Parameters |
checkWriteable, fromConfiguration, fromConfiguration, fromProperties, toProperties, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected final Parameters wrappedParameters
protected Map map
| Constructor Detail |
public ParametersMap(Parameters wrapped)
| Method Detail |
public boolean equals(Object arg0)
equals in interface Mappublic String[] getNames()
public String getParameter(String arg0,
String arg1)
public String getParameter(String arg0)
throws ParameterException
ParameterException
public boolean getParameterAsBoolean(String arg0,
boolean arg1)
public boolean getParameterAsBoolean(String arg0)
throws ParameterException
ParameterException
public float getParameterAsFloat(String arg0,
float arg1)
public float getParameterAsFloat(String arg0)
throws ParameterException
ParameterException
public int getParameterAsInteger(String arg0,
int arg1)
public int getParameterAsInteger(String arg0)
throws ParameterException
ParameterException
public long getParameterAsLong(String arg0,
long arg1)
public long getParameterAsLong(String arg0)
throws ParameterException
ParameterExceptionpublic Iterator getParameterNames()
public int hashCode()
hashCode in interface Mappublic boolean isParameter(String arg0)
public void makeReadOnly()
public Parameters merge(Parameters arg0)
public void removeParameter(String arg0)
public String setParameter(String arg0,
String arg1)
throws IllegalStateException
IllegalStateExceptionpublic void clear()
clear in interface Mapprotected Map getMap()
public boolean containsKey(Object arg0)
containsKey in interface Mappublic boolean containsValue(Object arg0)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic Object get(Object arg0)
get in interface Mappublic boolean isEmpty()
isEmpty in interface Mappublic Set keySet()
keySet in interface Map
public Object put(Object arg0,
Object arg1)
put in interface Mappublic void putAll(Map arg0)
putAll in interface Mappublic Object remove(Object arg0)
remove in interface Mappublic int size()
size in interface Mappublic Collection values()
values in interface Map
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||