net.sf.wfnm
Interface AttributeContainer

All Known Implementing Classes:
HttpSessionWrapper

public interface AttributeContainer

Defines a container of attributes.

Version:
1.0.6
Author:
Maurizio Albari

Method Summary
 Object getAttribute(String key)
          Gets the value of an attribute.
 Enumeration getAttributeNames()
          Returns an enumeration of attribute names.
 String getId()
          Get the unique identifier of this attribute container
 void removeAttributeValue(String key)
          Removes an attribute.
 void setAttributeValue(String key, Object value)
          Set the internal value of an attribute.
 

Method Detail

getAttribute

public Object getAttribute(String key)
Gets the value of an attribute.

Parameters:
key - the attribute key
Returns:
the value of the attribute

getAttributeNames

public Enumeration getAttributeNames()
Returns an enumeration of attribute names.

Returns:
an enumeration of attribute names

setAttributeValue

public void setAttributeValue(String key,
                              Object value)
Set the internal value of an attribute.

Parameters:
key - the attribute key
value - the attribute value

getId

public String getId()
Get the unique identifier of this attribute container

Returns:
the unique identifier of this attribute container

removeAttributeValue

public void removeAttributeValue(String key)
Removes an attribute.

Parameters:
key - the attribute key


Copyright © 2004-2005 Maurizio Albari@SourceForge.net. All Rights Reserved.