package net.xoetrope.xui.data;
import java.awt.Component;
import net.xoetrope.xui.data.XModel;
import net.xoetrope.xml.XmlElement;
/**
* A factory for construction of data bindings
* <p>Copyright (c) Xoetrope Ltd., 1998-2003</p>
* $Revision: 1.7 $
*/
public interface XDataBindingFactory
{
/**
* Try to get a binding factory to construct the binding
* @param comp the target component
* @param model the source data model
* @param bindingNode the XML element defining the binding
* @return the new binding if one could be constructed
*/
public XDataBinding getBinding( Component comp, XModel model, XmlElement bindingNode );
}
|