org.apache.struts2.util
Class AttributeMap
java.lang.Object
  
org.apache.struts2.util.AttributeMap
- All Implemented Interfaces: 
 - Map
 
public class AttributeMap
- extends Object
- implements Map
  
A Map that holds 4 levels of scope.
 
 The scopes are the ones known in the web world.:
 
   - Page scope
 
   - Request scope
 
   - Session scope
 
   - Application scope
 
 
 A object is searched in the order above, starting from page and ending at application scope.
 
| Nested classes/interfaces inherited from interface java.util.Map | 
Map.Entry<K,V> | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
UNSUPPORTED
protected static final String UNSUPPORTED
- See Also:
 - Constant Field Values
 
context
Map context
AttributeMap
public AttributeMap(Map context)
isEmpty
public boolean isEmpty()
- Specified by:
 isEmpty in interface Map
 
 
clear
public void clear()
- Specified by:
 clear in interface Map
 
 
containsKey
public boolean containsKey(Object key)
- Specified by:
 containsKey in interface Map
 
 
containsValue
public boolean containsValue(Object value)
- Specified by:
 containsValue in interface Map
 
 
entrySet
public Set entrySet()
- Specified by:
 entrySet in interface Map
 
 
get
public Object get(Object key)
- Specified by:
 get in interface Map
 
 
keySet
public Set keySet()
- Specified by:
 keySet in interface Map
 
 
put
public Object put(Object key,
                  Object value)
- Specified by:
 put in interface Map
 
 
putAll
public void putAll(Map t)
- Specified by:
 putAll in interface Map
 
 
remove
public Object remove(Object key)
- Specified by:
 remove in interface Map
 
 
size
public int size()
- Specified by:
 size in interface Map
 
 
values
public Collection values()
- Specified by:
 values in interface Map
 
 
getPageContext
private PageContext getPageContext()
 
 
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.