net.sf.morph.reflect
Interface CompositeReflector

All Superinterfaces:
net.sf.composite.Component, Reflector
All Known Implementing Classes:
ServletRequestReflector, SimpleDelegatingReflector, StubbornDelegatingReflector

public interface CompositeReflector
extends Reflector

A reflector that is composed of multiple component reflectors.

Since:
Feb 2, 2006
Author:
Matt Sgarlata

Method Summary
 boolean isReflectable(java.lang.Class reflectedType, java.lang.Class reflectorType)
          Indicates whether this reflector can support the operations specified in reflectorType when reflecting instances of reflectedType.
 
Methods inherited from interface net.sf.morph.reflect.Reflector
getReflectableClasses, getWrapper
 

Method Detail

isReflectable

boolean isReflectable(java.lang.Class reflectedType,
                      java.lang.Class reflectorType)
                      throws ReflectionException
Indicates whether this reflector can support the operations specified in reflectorType when reflecting instances of reflectedType.

Parameters:
reflectedType - the type of the object for which we wish to determine reflectability
reflectorType - the interface which defines the operations we would like to perform on instances of reflectedType
Returns:
true, if this reflector can support the operations specified in reflectorType when reflecting instances of reflectedType
Throws:
ReflectionException - if this reflector could not determine whether it could support the operations specified in reflectorType.


Copyright © 2004-2008.