org.apache.commons.attributes
Interface CachedRepository

All Known Implementing Classes:
DefaultCachedRepository, EmptyCachedRepository

interface CachedRepository

An attribute repository cache. Used internally to speed up operation. All collections returned should be unmodifiable.


Field Summary
static CachedRepository EMPTY
           
 
Method Summary
 java.util.Collection getAttributes()
           
 java.util.Collection getAttributes(java.lang.reflect.Constructor c)
           
 java.util.Collection getAttributes(java.lang.reflect.Field f)
           
 java.util.Collection getAttributes(java.lang.reflect.Method m)
           
 java.util.Collection getParameterAttributes(java.lang.reflect.Constructor c, int parameter)
           
 java.util.Collection getParameterAttributes(java.lang.reflect.Method m, int parameter)
           
 java.util.Collection getReturnAttributes(java.lang.reflect.Method m)
           
 

Field Detail

EMPTY

public static final CachedRepository EMPTY
Method Detail

getAttributes

public java.util.Collection getAttributes()

getAttributes

public java.util.Collection getAttributes(java.lang.reflect.Field f)

getAttributes

public java.util.Collection getAttributes(java.lang.reflect.Method m)

getParameterAttributes

public java.util.Collection getParameterAttributes(java.lang.reflect.Method m,
                                                   int parameter)

getParameterAttributes

public java.util.Collection getParameterAttributes(java.lang.reflect.Constructor c,
                                                   int parameter)

getReturnAttributes

public java.util.Collection getReturnAttributes(java.lang.reflect.Method m)

getAttributes

public java.util.Collection getAttributes(java.lang.reflect.Constructor c)