public class BindingInfo extends Object implements Comparable<BindingInfo>
Type | Property and Description |
---|---|
boolean |
isSourceSimplePublic
Is the binding source a simple public member variable?
|
Constructor and Description |
---|
BindingInfo(IMXMLBindingNode bindingNode,
int index,
MXMLClassDirectiveProcessor host,
boolean reverseSourceAndDest)
Constructor for use with a BindingNode.
|
BindingInfo(IMXMLDataBindingNode dbnode,
int index,
MXMLClassDirectiveProcessor host)
This form of the constructor is used for the "normal" case,
like
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BindingInfo o) |
String |
getDestinationString() |
IExpressionNode |
getExpressionNodeForDestination()
Get the IExpressionNode that represents the destination
|
List<IExpressionNode> |
getExpressionNodesForGetter() |
int |
getIndex() |
String |
getSourceString()
The string that represents the binding source, but only for simple publics
may return null if binding source is not simple public property
|
int |
getTwoWayCounterpart() |
boolean |
isSourceSimplePublicProperty()
Is the binding source a simple public member variable?
|
void |
setDestinationString(String newDestString)
param the name of the binding destination property
|
void |
setTwoWayCounterpart(int twoWayCounterparterpart) |
String |
toString()
just for debugging
|
public IMXMLNode node
public BindingInfo(IMXMLDataBindingNode dbnode, int index, MXMLClassDirectiveProcessor host)
public BindingInfo(IMXMLBindingNode bindingNode, int index, MXMLClassDirectiveProcessor host, boolean reverseSourceAndDest)
reverseSourceAndDest
- - if true, analyze the binding as if the source was the destination
and the destination was the sourcepublic int getIndex()
public int getTwoWayCounterpart()
public void setTwoWayCounterpart(int twoWayCounterparterpart)
public List<IExpressionNode> getExpressionNodesForGetter()
public IExpressionNode getExpressionNodeForDestination()
public String getDestinationString()
public void setDestinationString(String newDestString)
public int compareTo(BindingInfo o)
compareTo
in interface Comparable<BindingInfo>
public boolean isSourceSimplePublicProperty()
public String getSourceString()
Copyright © 2016 The Apache Software Foundation. All rights reserved.