org.formaria.aria.data
Class DataBindingFactory
java.lang.Object
org.formaria.aria.data.DataBindingFactory
- Direct Known Subclasses:
- BasicDataBindingFactory, OptionalBindingFactory, RegisteredDataBindingFactory, SwtDataBindingFactory
public abstract class DataBindingFactory
- extends java.lang.Object
A factory for construction of data bindings
Copyright (c) Formaria Ltd., 2008
$Revision: 2.3 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evaluator
protected AttributeEvaluator evaluator
currentProject
protected Project currentProject
DataBindingFactory
protected DataBindingFactory(Project project)
getEvaluatedAttribute
protected java.lang.String getEvaluatedAttribute(PageSupport page,
java.lang.String attributeValue)
- Returns evaluated attribute
- Parameters:
page - the page that owns the binding and supplies the methods
referenced in the evaluated attributesattributeValue - name of the attribute to retrieve and evaluate
- Returns:
- evaluated attribute
getBinding
public abstract DataBinding getBinding(PageSupport page,
java.lang.Object comp,
java.util.Hashtable instanceConfig)
- Try to get a binding factory to construct the binding
- Parameters:
page - the page that will own the bindingmodel - the source data modelinstanceConfig - the XML element defining the binding
- Returns:
- the new binding if one could be constructed