01: package net.xoetrope.xui.data;
02:
03: import java.awt.Component;
04: import net.xoetrope.xui.data.XModel;
05: import net.xoetrope.xml.XmlElement;
06:
07: /**
08: * A factory for construction of data bindings
09: * <p>Copyright (c) Xoetrope Ltd., 1998-2003</p>
10: * $Revision: 1.7 $
11: */
12: public interface XDataBindingFactory {
13: /**
14: * Try to get a binding factory to construct the binding
15: * @param comp the target component
16: * @param model the source data model
17: * @param bindingNode the XML element defining the binding
18: * @return the new binding if one could be constructed
19: */
20: public XDataBinding getBinding(Component comp, XModel model,
21: XmlElement bindingNode);
22: }
|