org.codehaus.wadi.core.session
Class StandardAttributes

java.lang.Object
  extended by org.codehaus.wadi.core.session.StandardAttributes
All Implemented Interfaces:
Attributes
Direct Known Subclasses:
DistributableAttributes

public class StandardAttributes
extends java.lang.Object
implements Attributes

Version:
$Revision: 1497 $
Author:
Jules Gosnell

Field Summary
protected  StandardAttributesMemento memento
           
protected  ValueFactory valueFactory
           
 
Constructor Summary
StandardAttributes(ValueFactory valueFactory)
           
 
Method Summary
 void clear()
           
 boolean containsKey(java.lang.Object key)
           
 java.lang.Object get(java.lang.Object key)
           
protected  java.util.Map<java.lang.Object,java.lang.Object> getAttributesMap()
           
 StandardAttributesMemento getMemento()
           
 boolean isEmpty()
           
 java.util.Set keySet()
           
protected  StandardAttributesMemento newMemento()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object newValue)
           
 java.lang.Object remove(java.lang.Object key)
           
 void setMemento(StandardAttributesMemento memento)
           
 int size()
           
 java.util.Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valueFactory

protected final ValueFactory valueFactory

memento

protected StandardAttributesMemento memento
Constructor Detail

StandardAttributes

public StandardAttributes(ValueFactory valueFactory)
Method Detail

newMemento

protected StandardAttributesMemento newMemento()

getAttributesMap

protected java.util.Map<java.lang.Object,java.lang.Object> getAttributesMap()

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface Attributes

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface Attributes

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object newValue)
Specified by:
put in interface Attributes

clear

public void clear()
Specified by:
clear in interface Attributes

containsKey

public boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface Attributes

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Attributes

keySet

public java.util.Set keySet()
Specified by:
keySet in interface Attributes

size

public int size()
Specified by:
size in interface Attributes

values

public java.util.Collection values()
Specified by:
values in interface Attributes

getMemento

public StandardAttributesMemento getMemento()

setMemento

public void setMemento(StandardAttributesMemento memento)


Copyright © 2010. All Rights Reserved.