|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.util.TypedMap
org.jboss.portal.portlet.state.AbstractPropertyMap
public class AbstractPropertyMap
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.portal.common.util.TypedMap |
---|
TypedMap.Converter<E,I>, TypedMap.KeySet, TypedMap.TypedEntrySet, TypedMap.ValueCollection |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
AbstractPropertyMap(MapAccessor mapAccessor,
TypedMap.Converter converter,
TypedMap.Converter converter1)
|
|
AbstractPropertyMap(java.util.Map map,
TypedMap.Converter converter,
TypedMap.Converter converter1)
|
Method Summary | |
---|---|
Value |
getProperty(java.lang.String key)
Return the value for the given key or null if it does not exist. |
void |
setProperty(java.lang.String key,
Value value)
Update the value of the given key. |
Methods inherited from class org.jboss.portal.common.util.TypedMap |
---|
clear, containsKey, containsValue, convert, entrySet, equals, get, getKeyConverter, getValueConverter, isEmpty, keySet, put, putAll, remove, replace, size, toString, validate, values |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public AbstractPropertyMap(MapAccessor mapAccessor, TypedMap.Converter converter, TypedMap.Converter converter1)
public AbstractPropertyMap(java.util.Map map, TypedMap.Converter converter, TypedMap.Converter converter1)
Method Detail |
---|
public Value getProperty(java.lang.String key) throws java.lang.IllegalArgumentException
PropertyMap
getProperty
in interface PropertyMap
key
- the requested key
java.lang.IllegalArgumentException
- if the key is nullpublic void setProperty(java.lang.String key, Value value) throws java.lang.IllegalArgumentException
PropertyMap
setProperty
in interface PropertyMap
key
- the key to updatevalue
- the new value
java.lang.IllegalArgumentException
- if the key is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |