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(jakarta.servlet.ServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(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.StringgetValue(java.lang.String key)Returns the value associated with the specified key.protected voidremoveValue(java.lang.String key)Removes the specified key.protected voidsetValue(java.lang.String key, java.lang.String value)Sets the value associated with the specified key.intsize()-
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:
entrySetin interfacejava.util.Map<java.lang.String,java.lang.String>- Specified by:
entrySetin classjava.util.AbstractMap<java.lang.String,java.lang.String>
-
size
public int size()
- Specified by:
sizein interfacejava.util.Map<java.lang.String,java.lang.String>- Overrides:
sizein classjava.util.AbstractMap<java.lang.String,java.lang.String>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKeyin interfacejava.util.Map<java.lang.String,java.lang.String>- Overrides:
containsKeyin classStringKeysMap<java.lang.String>
-
getValue
protected java.lang.String getValue(java.lang.String key)
Description copied from class:StringKeysMapReturns the value associated with the specified key.- Specified by:
getValuein classStringKeysMap<java.lang.String>
-
getKeys
protected java.util.Enumeration<java.lang.String> getKeys()
Description copied from class:StringKeysMapReturns an enumeration of keys.- Specified by:
getKeysin classStringKeysMap<java.lang.String>
-
setValue
protected void setValue(java.lang.String key, java.lang.String value)Description copied from class:StringKeysMapSets the value associated with the specified key.- Specified by:
setValuein classStringKeysMap<java.lang.String>
-
removeValue
protected void removeValue(java.lang.String key)
Description copied from class:StringKeysMapRemoves the specified key.- Specified by:
removeValuein classStringKeysMap<java.lang.String>
-
-