public class Binding extends Object implements LocationScopeProvider
Constructor and Description |
---|
Binding(BindingTarget target,
String name,
Expr expr) |
Binding(BindingTarget target,
String name,
Expr expr,
SetterStore.BindingSetterCall setterCall) |
Modifier and Type | Method and Description |
---|---|
String |
getBindingAdapterInstanceClass() |
Expr[] |
getComponentExpressions() |
Expr |
getExpr() |
int |
getMinApi()
The min api level in which this binding should be executed.
|
String |
getName() |
BindingTarget |
getTarget() |
List<Location> |
provideScopeLocation() |
boolean |
requiresOldValue() |
void |
resolveListeners() |
void |
resolveTwoWayExpressions() |
String |
toJavaCode(String targetViewName,
String bindingComponent) |
public Binding(BindingTarget target, String name, Expr expr)
public Binding(BindingTarget target, String name, Expr expr, SetterStore.BindingSetterCall setterCall)
public List<Location> provideScopeLocation()
provideScopeLocation
in interface LocationScopeProvider
public void resolveListeners()
public void resolveTwoWayExpressions()
public BindingTarget getTarget()
public String getBindingAdapterInstanceClass()
public Expr[] getComponentExpressions()
public boolean requiresOldValue()
public int getMinApi()
This should be the minimum value among the dependencies of this binding. For now, we only check the setter.
public String getName()
public Expr getExpr()