public class BeanGetter<T> extends Object implements Getter<T>
Modifier and Type | Field and Description |
---|---|
protected Method |
getterMethod |
Constructor and Description |
---|
BeanGetter(Class<?> beanClass,
String property) |
Modifier and Type | Method and Description |
---|---|
Object |
get(T contextObject)
Get a value from the supplied context object.
|
protected final Method getterMethod
public Object get(T contextObject) throws BeanSerializationException
Getter
get
in interface Getter<T>
contextObject
- The context object from which the get operation is to be applied.BeanSerializationException
- Exception applying get operation on the context object instance.Copyright © 2024. All rights reserved.