org.zkoss.web.servlet.xel
Class AttributesMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.zkoss.web.servlet.xel.StringKeysMap
          extended by org.zkoss.web.servlet.xel.AttributesMap
All Implemented Interfaces:
java.util.Map
Direct Known Subclasses:
RequestScope

public abstract class AttributesMap
extends StringKeysMap

A sketetal implementation for Map to wrap something with enumeration of attributes, which must be String.

It is mainly used to implement sessionScope and requestScope in EL.

Since:
3.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
java.util.AbstractMap.SimpleEntry, java.util.AbstractMap.SimpleImmutableEntry
 
Constructor Summary
AttributesMap()
           
 
Method Summary
 java.util.Set entrySet()
           
 boolean isEmpty()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object val)
           
 java.lang.Object remove(java.lang.Object key)
           
 int size()
           
 
Methods inherited from class org.zkoss.web.servlet.xel.StringKeysMap
containsKey, get, getKeys, getValue, removeValue, setValue
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, keySet, putAll, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributesMap

public AttributesMap()
Method Detail

entrySet

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

size

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

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map
Overrides:
isEmpty in class java.util.AbstractMap

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object val)
Specified by:
put in interface java.util.Map
Overrides:
put in class java.util.AbstractMap

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map
Overrides:
remove in class java.util.AbstractMap


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo