org.springframework.faces.webflow.context.portlet
Class RequestPropertyMap<V>
java.lang.Object
org.springframework.binding.collection.StringKeyedMapAdapter<V>
org.springframework.faces.webflow.context.portlet.RequestPropertyMap<V>
- All Implemented Interfaces:
- java.util.Map<java.lang.String,V>
- Direct Known Subclasses:
- MultiValueRequestPropertyMap, SingleValueRequestPropertyMap
public abstract class RequestPropertyMap<V>
- extends StringKeyedMapAdapter<V>
Base class for Map
s allowing access to PortletContext
request properties.
- Since:
- 2.2.0
- Author:
- Rossen Stoyanchev, Phillip Webb
- See Also:
SingleValueRequestPropertyMap
,
MultiValueRequestPropertyMap
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
protected java.util.Iterator<java.lang.String> |
getAttributeNames()
Hook method that needs to be implemented by concrete subclasses. |
protected javax.portlet.PortletRequest |
getPortletRequest()
|
protected void |
removeAttribute(java.lang.String key)
Hook method that needs to be implemented by concrete subclasses. |
protected void |
setAttribute(java.lang.String key,
V value)
Hook method that needs to be implemented by concrete subclasses. |
Methods inherited from class org.springframework.binding.collection.StringKeyedMapAdapter |
clear, containsKey, containsValue, entrySet, get, getAttribute, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
RequestPropertyMap
public RequestPropertyMap(javax.portlet.PortletRequest portletRequest)
getPortletRequest
protected final javax.portlet.PortletRequest getPortletRequest()
setAttribute
protected void setAttribute(java.lang.String key,
V value)
- Description copied from class:
StringKeyedMapAdapter
- Hook method that needs to be implemented by concrete subclasses. Puts a key-value pair in the map, overwriting
any possible earlier value associated with the same key.
- Specified by:
setAttribute
in class StringKeyedMapAdapter<V>
- Parameters:
key
- the key to associate the value withvalue
- the value to associate with the key
removeAttribute
protected void removeAttribute(java.lang.String key)
- Description copied from class:
StringKeyedMapAdapter
- Hook method that needs to be implemented by concrete subclasses. Removes a key and its associated value from the
map.
- Specified by:
removeAttribute
in class StringKeyedMapAdapter<V>
- Parameters:
key
- the key to remove
getAttributeNames
protected java.util.Iterator<java.lang.String> getAttributeNames()
- Description copied from class:
StringKeyedMapAdapter
- Hook method that needs to be implemented by concrete subclasses. Returns an enumeration listing all keys known to
the map.
- Specified by:
getAttributeNames
in class StringKeyedMapAdapter<V>
- Returns:
- the key enumeration