Package org.apache.commons.attributes

Provides an API for accessing attributes.

See:
          Description

Interface Summary
AttributeRepositoryClass Interface implemented by all attribute repository classes.
Sealable Marks an attribute class as being sealable.
 

Class Summary
AttributeIndex An index providing a list of elements with given attributes.
AttributeIndex.ConstructorParameter A constructor parameter.
AttributeIndex.MethodParameter Reference to a method parameter.
Attributes API for accessing attributes.
AttributeUtil Commonly used convenience functions.
DefaultSealable Implementation of the Sealable interface.
Indexed This attribute is used to mark attributes as being indexed.
Inheritable This attribute is used to mark attributes as being inheritable.
RuntimeAttributeRepository Class used to define attributes programmatically for a class.
Target Attribute indicating what elements an attribute may be applied to.
 

Exception Summary
ParameterIndexOutOfBoundsException Thrown when attempting to get attributes for a parameter of a constructor or method and the parameter index is out of bounds.
SealedAttributeException Thrown when an attempt is made to modify a Sealable attribute that has been sealed.
 

Error Summary
CircularDependencyError Thrown when an attribute repository class can't be loaded because it resulted in a circular dependency.
InvalidAttributeTargetError Thrown when an attribute has a Target declaration that forbids it being applied to the program element it has been applied to.
MultipleAttributesError Thrown when one of the Attributes.getAttribute methods find more than one instance of the specified attribute class and the method only expected to find a single instance.
RepositoryError Thrown when an attribute repository class can't be loaded or instantiated.
 

Package org.apache.commons.attributes Description

Provides an API for accessing attributes.



Copyright © The Apache Software Foundation. All Rights Reserved.