- All Known Implementing Classes:
DefaultAttributeManager
public interface AttributeManager
The AttributeManager API.
- Author:
- Manfred Riem ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
containsAttribute(String name)
Checks if this manager has the given attributegetAttribute(String name)
Get the attribute.Returns the attribute names.void
removeAttribute(String name)
Remove the attribute.void
setAttribute(String name, Object value)
Set the attribute.
-
Method Details
-
getAttribute
Get the attribute.- Parameters:
name
- the name.- Returns:
- the value.
-
getAttributeNames
Enumeration<String> getAttributeNames()Returns the attribute names.- Returns:
- the attribute names
-
removeAttribute
Remove the attribute.- Parameters:
name
- the name.
-
setAttribute
Set the attribute.- Parameters:
name
- the name.value
- the value.
-
containsAttribute
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
-