org.formaria.data
Class OptionalBindingFactory
java.lang.Object
org.formaria.aria.data.DataBindingFactory
org.formaria.data.OptionalBindingFactory
public class OptionalBindingFactory
- extends DataBindingFactory
A factory for bindings from this package. This binding factory is implicitly
registered as part of loading the OptionalDataSource. The AriaBuilder class
then uses the factory to create bindings for the supported component types.
Copyright Formaria Ltd. 2008
$Revision: 2.8 $
License: see license.txt
|
Method Summary |
DataBinding |
getBinding(PageSupport page,
java.lang.Object comp,
java.util.Hashtable instanceConfig)
Try to get a binding factory to construct the binding |
static void |
register(Project project)
Registe an instance of this binding factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
register
public static void register(Project project)
- Registe an instance of this binding factory.
getBinding
public DataBinding getBinding(PageSupport page,
java.lang.Object comp,
java.util.Hashtable instanceConfig)
- Try to get a binding factory to construct the binding
- Specified by:
getBinding in class DataBindingFactory
- Parameters:
page - the page that will own the bindingcomp - the target componentinstanceConfig - the attributes of the binding instance
- Returns:
- the new binding if one could be constructed