net.xoetrope.xui.data
Class XBasicDataBindingFactory

java.lang.Object
  extended by net.xoetrope.xui.data.XBasicDataBindingFactory
All Implemented Interfaces:
XDataBindingFactory

public class XBasicDataBindingFactory
extends java.lang.Object

    
implements XDataBindingFactory

    

A data binding factory for the basic XUI binding types

Copyright: Copyright (c) Xoetrope Ltd., 2001-2005

$Revision: 2.13 $

License see license.txt


Method Summary
 XDataBinding getBinding(PageSupport page, java.lang.Object comp, XModel model, XmlElement bindingNode)
          Try to get a binding factory to construct the binding
static void register()
          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
 

Method Detail

register

public static void register()
Registe an instance of this binding factory.


getBinding

public XDataBinding getBinding(PageSupport page,
                               java.lang.Object comp,
                               XModel model,
                               XmlElement bindingNode)
Try to get a binding factory to construct the binding

Specified by:
getBinding in interface XDataBindingFactory
Parameters:
page - the page that will own the binding
comp - the target component
model - the source data model
bindingNode - the XML element defining the binding
Returns:
the new binding if one could be constructed