|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ReflectionException | |
---|---|
net.sf.morph | Core classes for use by other parts of the Morph framework. |
net.sf.morph.reflect | Defines notions of "bean-like" and "container-like" holders of information by definining a standard API for accessing such information. |
net.sf.morph.reflect.reflectors | Reflector implementations. |
Uses of ReflectionException in net.sf.morph |
---|
Methods in net.sf.morph that throw ReflectionException | |
---|---|
static boolean |
Morph.add(java.lang.Object container,
java.lang.Object value)
Adds a new value to the end of a container . |
static java.lang.Object |
Morph.get(java.lang.Object container,
int index)
Gets the element at the specified index. |
static java.lang.Class |
Morph.getContainedType(java.lang.Class clazz)
Returns the type of the elements that are contained in objects of the given class. |
static java.util.Iterator |
Morph.getIterator(java.lang.Object container)
Exposes an iterator over the contents of the container. |
static java.lang.String[] |
Morph.getPropertyNames(java.lang.Object bean)
Gets the names of the properties which are currently defined for the given bean. |
static int |
Morph.getSize(java.lang.Object object)
Returns the number of elements contained in a given object. |
static java.lang.Class |
Morph.getType(java.lang.Class beanType,
java.lang.String propertyName)
Specifies the least restrictive type that may be assigned to the given property. |
static java.lang.Class |
Morph.getType(java.lang.Object bean,
java.lang.String propertyName)
Specifies the least restrictive type that may be assigned to the given property. |
static boolean |
Morph.isReadable(java.lang.Object bean,
java.lang.String propertyName)
Specifies whether the given property is readable. |
static boolean |
Morph.isWriteable(java.lang.Object bean,
java.lang.String propertyName)
Specifies whether the given property is writeable. |
static java.lang.Object |
Morph.newInstance(java.lang.Class clazz)
Creates a new instance of the given type. |
static java.lang.Object |
Morph.set(java.lang.Object container,
int index,
java.lang.Object propertyValue)
Sets the element at the specified index. |
Uses of ReflectionException in net.sf.morph.reflect |
---|
Subclasses of ReflectionException in net.sf.morph.reflect | |
---|---|
class |
NoReflectorFoundException
Exception thrown to indicate a suitable reflector for a reflection operation could not be found. |
Methods in net.sf.morph.reflect that throw ReflectionException | |
---|---|
boolean |
GrowableContainerReflector.add(java.lang.Object container,
java.lang.Object value)
Adds a new value to the end of a container . |
java.lang.Object |
IndexedContainerReflector.get(java.lang.Object container,
int index)
Gets the element at the specified index. |
java.lang.Object |
BeanReflector.get(java.lang.Object bean,
java.lang.String propertyName)
Retrieves the value of the given property. |
java.lang.Class |
ContainerReflector.getContainedType(java.lang.Class clazz)
Returns the type of the elements that are contained in objects of the given class. |
java.util.Iterator |
ContainerReflector.getIterator(java.lang.Object container)
Exposes an iterator over the contents of the container. |
java.lang.String[] |
BeanReflector.getPropertyNames(java.lang.Object bean)
Gets the names of the properties which are currently defined for the given bean. |
int |
SizableReflector.getSize(java.lang.Object object)
Returns the number of elements contained in a given object. |
java.lang.Class |
BeanReflector.getType(java.lang.Object bean,
java.lang.String propertyName)
Specifies the least restrictive type that may be assigned to the given property. |
boolean |
BeanReflector.isReadable(java.lang.Object bean,
java.lang.String propertyName)
Specifies whether the given property is readable. |
boolean |
DecoratedReflector.isReflectable(java.lang.Class reflectedType)
Indicates whether the given type is reflectable by this reflector. |
boolean |
CompositeReflector.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 . |
boolean |
BeanReflector.isWriteable(java.lang.Object bean,
java.lang.String propertyName)
Specifies whether the given property is writeable. |
java.lang.Object |
InstantiatingReflector.newInstance(java.lang.Class clazz,
java.lang.Object parameters)
Creates a new instance of the given type. |
java.lang.Object |
MutableIndexedContainerReflector.set(java.lang.Object container,
int index,
java.lang.Object propertyValue)
Sets the element at the specified index. |
void |
BeanReflector.set(java.lang.Object bean,
java.lang.String propertyName,
java.lang.Object propertyValue)
Sets the value of the given property. |
Uses of ReflectionException in net.sf.morph.reflect.reflectors |
---|
Methods in net.sf.morph.reflect.reflectors that throw ReflectionException | |
---|---|
boolean |
BaseReflector.add(java.lang.Object container,
java.lang.Object value)
GrowableContainerReflector.add(Object, Object) |
protected void |
BaseReflector.checkIndex(java.lang.Object container,
int index)
Validate index into container . |
protected void |
BaseReflector.checkIsReflectable(java.lang.Object object)
Throws an exception if a the given object is not reflectable by this reflector. |
java.lang.Object |
BaseReflector.get(java.lang.Object container,
int index)
IndexedContainerReflector.get(Object, int) |
java.lang.Object |
BaseReflector.get(java.lang.Object bean,
java.lang.String propertyName)
BeanReflector.get(Object, String) |
java.lang.Class |
BaseReflector.getContainedType(java.lang.Class clazz)
ContainerReflector.getContainedType(Class) |
java.util.Iterator |
BaseReflector.getIterator(java.lang.Object container)
ContainerReflector.getIterator(Object) |
java.lang.String[] |
BaseReflector.getPropertyNames(java.lang.Object bean)
BeanReflector.getPropertyNames(Object) |
int |
BaseReflector.getSize(java.lang.Object container)
SizableReflector.getSize(Object) |
java.lang.Class |
BaseReflector.getType(java.lang.Object bean,
java.lang.String propertyName)
BeanReflector.getType(Object, String) |
protected void |
BaseReflector.initialize()
Initialize this Reflector. |
boolean |
BaseReflector.isReadable(java.lang.Object bean,
java.lang.String propertyName)
BeanReflector.isReadable(Object, String) |
boolean |
BaseReflector.isReflectable(java.lang.Class reflectedType)
Indicates whether the given type is reflectable by this reflector. |
boolean |
BaseReflector.isReflectable(java.lang.Class reflectedType,
java.lang.Class reflectorType)
DecoratedReflector.isReflectable(Class) |
boolean |
StubbornDelegatingReflector.isReflectableImpl(java.lang.Class reflectedType,
java.lang.Class reflectorType)
|
boolean |
SimpleDelegatingReflector.isReflectableImpl(java.lang.Class reflectedType,
java.lang.Class reflectorType)
|
protected boolean |
BaseReflector.isValidIndex(java.lang.Object bean,
java.lang.String propertyName)
Learn whether propertyName denotes a valid numeric property index for bean . |
java.lang.Object |
BaseReflector.set(java.lang.Object container,
int index,
java.lang.Object propertyValue)
MutableIndexedContainerReflector.set(Object, int, Object) |
void |
BaseReflector.set(java.lang.Object bean,
java.lang.String propertyName,
java.lang.Object propertyValue)
BeanReflector.set(Object, String, Object) |
void |
MapReflector.setMapTreatment(java.lang.String mapTreatment)
Sets how maps are treated by this reflector. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |