public abstract class PropertyGetter extends Object
BeanIntrospector| Constructor and Description |
|---|
PropertyGetter() |
| Modifier and Type | Method and Description |
|---|---|
abstract Type |
getGenericType()
Returns generic type of the property.
|
abstract Class<?> |
getType()
Returns raw type of the property.
|
abstract Object |
getValue(Object object)
Returns property value for the specified object.
|
static PropertyGetter |
newGetter(Member getter)
Creates a new property getter for the specified class member.
|
public abstract Class<?> getType()
public abstract Type getGenericType()
public abstract Object getValue(Object object)
object - Object whose property value should be returned.PropertyAccessException - if an error occured when accessing
property.public static PropertyGetter newGetter(Member getter)
null if member is abstract or null.IllegalArgumentException - if illegal member type specified.Copyright © 2010-2012 FoxLabs. All Rights Reserved.