|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeHolder
Interface denoting a configuration bean that stores a named collection of attributes.
Method Summary | |
---|---|
void |
addAttribute(AttributeBean descriptor)
Add the specified attribute descriptor, replacing any existing descriptor for this attribute name. |
AttributeBean |
getAttribute(java.lang.String name)
Return the attribute descriptor for the specified attribute name, if any; otherwise, return null . |
AttributeBean[] |
getAttributes()
Return the descriptors of all attributes for which descriptors have been registered, or an empty array if none have been registered. |
void |
removeAttribute(AttributeBean descriptor)
Deregister the specified attribute descriptor, if it is registered. |
Method Detail |
---|
void addAttribute(AttributeBean descriptor)
Add the specified attribute descriptor, replacing any existing descriptor for this attribute name.
descriptor
- Descriptor to be addedAttributeBean getAttribute(java.lang.String name)
Return the attribute descriptor for the specified attribute name,
if any; otherwise, return null
.
name
- Name of the attribute for which to retrieve a descriptorAttributeBean[] getAttributes()
Return the descriptors of all attributes for which descriptors have been registered, or an empty array if none have been registered.
void removeAttribute(AttributeBean descriptor)
Deregister the specified attribute descriptor, if it is registered.
descriptor
- Descriptor to be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |