|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.morph.reflect.reflectors.BaseReflector net.sf.morph.reflect.reflectors.BaseContainerReflector
public abstract class BaseContainerReflector
Convenient base class for ContainerReflectors. Validates arguments and takes care of logging and exception handling. All types of ContainerReflectors can use this class as a Base, because all methods defined on subinterfaces of ContainerReflector are supported by this base class. Note, however, that this class only states that it implements ContainerReflector so that subclasses can choose which interfaces they wish to expose.
Field Summary |
---|
Fields inherited from class net.sf.morph.reflect.reflectors.BaseReflector |
---|
log |
Constructor Summary | |
---|---|
BaseContainerReflector()
|
Method Summary | |
---|---|
protected abstract java.lang.Class |
getContainedTypeImpl(java.lang.Class clazz)
Implementation of ContainerReflector.getContainedType(Class) . |
protected abstract java.util.Iterator |
getIteratorImpl(java.lang.Object container)
Implementation of ContainerReflector.getIterator(Object) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.morph.reflect.ContainerReflector |
---|
getContainedType, getIterator |
Methods inherited from interface net.sf.morph.reflect.Reflector |
---|
getReflectableClasses, getWrapper |
Constructor Detail |
---|
public BaseContainerReflector()
Method Detail |
---|
protected abstract java.lang.Class getContainedTypeImpl(java.lang.Class clazz) throws java.lang.Exception
BaseReflector
ContainerReflector.getContainedType(Class)
.
getContainedTypeImpl
in class BaseReflector
java.lang.Exception
protected abstract java.util.Iterator getIteratorImpl(java.lang.Object container) throws java.lang.Exception
BaseReflector
ContainerReflector.getIterator(Object)
.
getIteratorImpl
in class BaseReflector
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |