Top Description Fields Constructors Methods
org.mortbay.util

public Class AttributesMap

extends Object
implements Attributes
Class Inheritance
All Implemented Interfaces
org.mortbay.util.Attributes
Imports
java.util.ArrayList, .Collections, .Enumeration, .HashMap, .Map

AttributesMap.
Author
gregw

Field Summary

Modifier and TypeField and Description
pack-priv Map<K, V>

Constructor Summary

AccessConstructor and Description
public
public
AttributesMap(Map<K, V> map)

Method Summary

Modifier and TypeMethod and Description
public void
public Object
public Enumeration<E>
public static Enumeration<E>
public void
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

_mapback to summary
pack-priv Map<K, V> _map

Constructor Detail

AttributesMapback to summary
public AttributesMap()
AttributesMapback to summary
public AttributesMap(Map<K, V> map)

Method Detail

clearAttributesback to summary
public void clearAttributes()

Implements org.mortbay.util.Attributes.clearAttributes.

getAttributeback to summary
public Object getAttribute(String name)

Implements org.mortbay.util.Attributes.getAttribute.

getAttributeNamesback to summary
public Enumeration<E> getAttributeNames()

Implements org.mortbay.util.Attributes.getAttributeNames.

getAttributeNamesCopyback to summary
public static Enumeration<E> getAttributeNamesCopy(Attributes attrs)
removeAttributeback to summary
public void removeAttribute(String name)

Implements org.mortbay.util.Attributes.removeAttribute.

setAttributeback to summary
public void setAttribute(String name, Object attribute)

Implements org.mortbay.util.Attributes.setAttribute.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.