Package org.zkoss.web.servlet.xel
Class ParameterMap
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,V>
-
- org.zkoss.web.servlet.xel.StringKeysMap<java.lang.String>
-
- org.zkoss.web.servlet.xel.ParameterMap
-
- All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.String>
public class ParameterMap extends StringKeysMap<java.lang.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
-
-
Constructor Summary
Constructors Constructor Description ParameterMap(javax.servlet.ServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(java.lang.Object key)
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>>
entrySet()
protected java.util.Enumeration<java.lang.String>
getKeys()
Returns an enumeration of keys.protected java.lang.String
getValue(java.lang.String key)
Returns the value associated with the specified key.protected void
removeValue(java.lang.String key)
Removes the specified key.protected void
setValue(java.lang.String key, java.lang.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
-
-
-
-
Method Detail
-
entrySet
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> entrySet()
- Specified by:
entrySet
in interfacejava.util.Map<java.lang.String,java.lang.String>
- Specified by:
entrySet
in classjava.util.AbstractMap<java.lang.String,java.lang.String>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Map<java.lang.String,java.lang.String>
- Overrides:
size
in classjava.util.AbstractMap<java.lang.String,java.lang.String>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interfacejava.util.Map<java.lang.String,java.lang.String>
- Overrides:
containsKey
in classStringKeysMap<java.lang.String>
-
getValue
protected java.lang.String getValue(java.lang.String key)
Description copied from class:StringKeysMap
Returns the value associated with the specified key.- Specified by:
getValue
in classStringKeysMap<java.lang.String>
-
getKeys
protected java.util.Enumeration<java.lang.String> getKeys()
Description copied from class:StringKeysMap
Returns an enumeration of keys.- Specified by:
getKeys
in classStringKeysMap<java.lang.String>
-
setValue
protected void setValue(java.lang.String key, java.lang.String value)
Description copied from class:StringKeysMap
Sets the value associated with the specified key.- Specified by:
setValue
in classStringKeysMap<java.lang.String>
-
removeValue
protected void removeValue(java.lang.String key)
Description copied from class:StringKeysMap
Removes the specified key.- Specified by:
removeValue
in classStringKeysMap<java.lang.String>
-
-