Interface IAttributeSupport

All Known Implementing Classes:
AttributeMap, FunctorFieldHandler, FunctorMethodHandler

public interface IAttributeSupport
This interface declares support for "generic attributes".

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.

  • Method Details

    • getAttribute

      Object getAttribute(Object key)
      Get an attribute value from the context
      Parameters:
      key - the name of the attribute to get
      Returns:
      The value of the attribute key
    • removeAttribute

      Object removeAttribute(Object key)
      Remove an attribute binding in the context
      Parameters:
      key - the name of the attribute to remove
      Returns:
      The previously associated value for key
    • setAttribute

      Object setAttribute(Object key, Object value)
      Set the value of an attribute in the context
      Parameters:
      key - the name of the attribute to set
      value - the new value the attribute
      Returns:
      The previously associated value for key