Interface AttributeManager

All Known Implementing Classes:
DefaultAttributeManager

public interface AttributeManager
The AttributeManager API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • getAttribute

      Object getAttribute(String name)
      Get the attribute.
      Parameters:
      name - the name.
      Returns:
      the value.
    • getAttributeNames

      Enumeration<String> getAttributeNames()
      Returns the attribute names.
      Returns:
      the attribute names
    • removeAttribute

      void removeAttribute(String name)
      Remove the attribute.
      Parameters:
      name - the name.
    • setAttribute

      void setAttribute(String name, Object value)
      Set the attribute.
      Parameters:
      name - the name.
      value - the value.
    • containsAttribute

      default boolean containsAttribute(String name)
      Checks if this manager has the given attribute
      Parameters:
      name - the name of the attribute to check for
      Returns:
      true if this manager contains the attribute, false otherwise