org.mortbay.util
Class AttributesMap

java.lang.Object
  extended byorg.mortbay.util.AttributesMap
All Implemented Interfaces:
Attributes

public class AttributesMap
extends Object
implements Attributes

AttributesMap.

Author:
gregw

Constructor Summary
AttributesMap()
           
AttributesMap(Map map)
           
 
Method Summary
 void clearAttributes()
           
 Object getAttribute(String name)
           
 Enumeration getAttributeNames()
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Object attribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesMap

public AttributesMap()

AttributesMap

public AttributesMap(Map map)
Method Detail

removeAttribute

public void removeAttribute(String name)
Specified by:
removeAttribute in interface Attributes

setAttribute

public void setAttribute(String name,
                         Object attribute)
Specified by:
setAttribute in interface Attributes

getAttribute

public Object getAttribute(String name)
Specified by:
getAttribute in interface Attributes

getAttributeNames

public Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface Attributes

clearAttributes

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