org.zkoss.web.servlet.xel
Class ParameterMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.zkoss.web.servlet.xel.StringKeysMap
          extended by org.zkoss.web.servlet.xel.ParameterMap
All Implemented Interfaces:
Map

public class ParameterMap
extends StringKeysMap

Represents a parameter map.

Since:
5.0.0
Author:
tomyeh

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.web.servlet.xel.StringKeysMap
StringKeysMap.EntryIter
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry, AbstractMap.SimpleImmutableEntry
 
Constructor Summary
ParameterMap(javax.servlet.ServletRequest request)
           
 
Method Summary
 boolean containsKey(Object key)
           
 Set entrySet()
           
protected  Enumeration getKeys()
          Returns an enumeration of keys.
protected  Object getValue(String key)
          Returns the value associated with the specified key.
protected  void removeValue(String key)
          Removes the specified key.
protected  void setValue(String key, Object value)
          Sets the value associated with the specified key.
 int size()
           
 
Methods inherited from class org.zkoss.web.servlet.xel.StringKeysMap
get
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterMap

public ParameterMap(javax.servlet.ServletRequest request)
Method Detail

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map
Specified by:
entrySet in class AbstractMap

size

public int size()
Specified by:
size in interface Map
Overrides:
size in class AbstractMap

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map
Overrides:
containsKey in class StringKeysMap

getValue

protected Object getValue(String key)
Description copied from class: StringKeysMap
Returns the value associated with the specified key.

Specified by:
getValue in class StringKeysMap

getKeys

protected Enumeration getKeys()
Description copied from class: StringKeysMap
Returns an enumeration of keys.

Specified by:
getKeys in class StringKeysMap

setValue

protected void setValue(String key,
                        Object value)
Description copied from class: StringKeysMap
Sets the value associated with the specified key.

Specified by:
setValue in class StringKeysMap

removeValue

protected void removeValue(String key)
Description copied from class: StringKeysMap
Removes the specified key.

Specified by:
removeValue in class StringKeysMap


Copyright © 2012. All Rights Reserved.