org.apache.commons.attributes
Class EmptyCachedRepository

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

class EmptyCachedRepository
extends java.lang.Object
implements CachedRepository

Null implementation of a cached repository.


Field Summary
static CachedRepository EMPTY
           
private static java.util.Collection EMPTY_COLLECTION
           
 
Constructor Summary
(package private) 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

EMPTY

public static final CachedRepository EMPTY
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