org.apache.portals.bridges.jsf
Class RequestParameterValuesMap

java.lang.Object
  extended by org.apache.portals.bridges.jsf.AbstractAttributeMap
      extended by org.apache.portals.bridges.jsf.RequestParameterValuesMap
All Implemented Interfaces:
java.util.Map

public class RequestParameterValuesMap
extends AbstractAttributeMap

PortletRequest multi-value parameters as Map.

See MyFaces project for servlet implementation.

Author:
David Le Strat

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
RequestParameterValuesMap(java.lang.Object request)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String key)
           Gets an attribute given a key.
 java.util.Enumeration getAttributeNames()
           Gets the attributes names.
 void removeAttribute(java.lang.String key)
           Removes an attribute.
 void setAttribute(java.lang.String key, java.lang.Object value)
           Sets an attribute given a key/value.
 
Methods inherited from class org.apache.portals.bridges.jsf.AbstractAttributeMap
clear, containsKey, containsValue, entrySet, get, 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
 

Constructor Detail

RequestParameterValuesMap

public RequestParameterValuesMap(java.lang.Object request)
Parameters:
request - The request.
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String key)
Description copied from class: AbstractAttributeMap

Gets an attribute given a key.

Specified by:
getAttribute in class AbstractAttributeMap
Parameters:
key - The key.
Returns:
The attribute.
See Also:
AbstractAttributeMap.getAttribute(java.lang.String)

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.Object value)
Description copied from class: AbstractAttributeMap

Sets an attribute given a key/value.

Specified by:
setAttribute in class AbstractAttributeMap
Parameters:
key - The key.
value - The value.
See Also:
AbstractAttributeMap.setAttribute(java.lang.String, java.lang.Object)

removeAttribute

public void removeAttribute(java.lang.String key)
Description copied from class: AbstractAttributeMap

Removes an attribute.

Specified by:
removeAttribute in class AbstractAttributeMap
Parameters:
key - The key.
See Also:
AbstractAttributeMap.removeAttribute(java.lang.String)

getAttributeNames

public java.util.Enumeration getAttributeNames()
Description copied from class: AbstractAttributeMap

Gets the attributes names.

Specified by:
getAttributeNames in class AbstractAttributeMap
Returns:
An enumeration of attributes names.
See Also:
AbstractAttributeMap.getAttributeNames()


Copyright © 1999-2011 Apache Software Foundation. All Rights Reserved.