public class GetterGraph<T> extends Object implements Getter<T>
Modifier and Type | Field and Description |
---|---|
protected String |
contextObjectName |
protected List<Getter> |
graph |
Constructor and Description |
---|
GetterGraph() |
Modifier and Type | Method and Description |
---|---|
GetterGraph |
add(Bean bean,
String property) |
void |
add(DataBinding binding) |
protected GetterGraph |
add(Getter getter) |
Object |
get(T contextObject)
Get a value from the supplied context object.
|
String |
getContextObjectName() |
void |
setContextObjectName(String contextObjectName) |
protected Getter |
toGetter(Bean bean,
Binding binding) |
protected String contextObjectName
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.protected GetterGraph add(Getter getter)
public void add(DataBinding binding)
public GetterGraph add(Bean bean, String property)
public String getContextObjectName()
public void setContextObjectName(String contextObjectName)
Copyright © 2024. All rights reserved.