de.intarsys.tools.attribute
public interface IAttributeSupport
This means the object implementing this interface may be extended transparently by its clients with name/value pairs. These attributes and their values are stored but not interpreted by the object that implements this interface.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.Object key)
Get an attribute value from the context
|
java.lang.Object |
removeAttribute(java.lang.Object key)
Remove an attribute binding in the context
|
java.lang.Object |
setAttribute(java.lang.Object key,
java.lang.Object value)
Set the value of an attribute in the context
|
java.lang.Object getAttribute(java.lang.Object key)
key
- the name of the attribute to getkey
java.lang.Object removeAttribute(java.lang.Object key)
key
- the name of the attribute to removekey
java.lang.Object setAttribute(java.lang.Object key, java.lang.Object value)
key
- the name of the attribute to setvalue
- the new value the attributekey