org.zkoss.web.servlet.xel
Class ParameterMap

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

public class ParameterMap
extends StringKeysMap<String>

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<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
ParameterMap(javax.servlet.ServletRequest request)
           
 
Method Summary
 boolean containsKey(Object key)
           
 Set<Map.Entry<String,String>> entrySet()
           
protected  Enumeration<String> getKeys()
          Returns an enumeration of keys.
protected  String 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, String 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<Map.Entry<String,String>> entrySet()
Specified by:
entrySet in interface Map<String,String>
Specified by:
entrySet in class AbstractMap<String,String>

size

public int size()
Specified by:
size in interface Map<String,String>
Overrides:
size in class AbstractMap<String,String>

containsKey

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

getValue

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

Specified by:
getValue in class StringKeysMap<String>

getKeys

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

Specified by:
getKeys in class StringKeysMap<String>

setValue

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

Specified by:
setValue in class StringKeysMap<String>

removeValue

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

Specified by:
removeValue in class StringKeysMap<String>


Copyright © 2015. All rights reserved.