org.apache.commons.attributes
Class EmptyCachedRepository

java.lang.Object
  extended by org.apache.commons.attributes.EmptyCachedRepository
All Implemented Interfaces:
CachedRepository

 class EmptyCachedRepository
extends java.lang.Object
implements CachedRepository

Null implementation of a cached repository.

Since:
2.1

Field Summary
private static java.util.Collection EMPTY_COLLECTION
           
 
Fields inherited from interface org.apache.commons.attributes.CachedRepository
EMPTY
 
Constructor Summary
EmptyCachedRepository()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_COLLECTION

private static final java.util.Collection EMPTY_COLLECTION
Constructor Detail

EmptyCachedRepository

EmptyCachedRepository()
Method Detail

getAttributes

public java.util.Collection getAttributes()
Specified by:
getAttributes in interface CachedRepository

getAttributes

public java.util.Collection getAttributes(java.lang.reflect.Field f)
Specified by:
getAttributes in interface CachedRepository

getAttributes

public java.util.Collection getAttributes(java.lang.reflect.Method m)
Specified by:
getAttributes in interface CachedRepository

getParameterAttributes

public java.util.Collection getParameterAttributes(java.lang.reflect.Constructor c,
                                                   int parameter)
Specified by:
getParameterAttributes in interface CachedRepository

getParameterAttributes

public java.util.Collection getParameterAttributes(java.lang.reflect.Method m,
                                                   int parameter)
Specified by:
getParameterAttributes in interface CachedRepository

getReturnAttributes

public java.util.Collection getReturnAttributes(java.lang.reflect.Method m)
Specified by:
getReturnAttributes in interface CachedRepository

getAttributes

public java.util.Collection getAttributes(java.lang.reflect.Constructor c)
Specified by:
getAttributes in interface CachedRepository