net.xoetrope.xui.data
Class XDataBindingFactory
java.lang.Object
net.xoetrope.xui.data.XDataBindingFactory
- Direct Known Subclasses:
- SwtDataBindingFactory, XBasicDataBindingFactory, XOptionalBindingFactory, XRegisteredDataBindingFactory
public abstract class XDataBindingFactory
- extends java.lang.Object
A factory for construction of data bindings
Copyright (c) Xoetrope Ltd., 1998-2003
$Revision: 2.3 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evaluator
protected XAttributeEvaluator evaluator
currentProject
protected XProject currentProject
XDataBindingFactory
protected XDataBindingFactory(XProject 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 XDataBinding 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