/** * Create a new instance of a <code>DatabindingFactory</code>. This static method * creates a new factory instance. * * Once an application has obtained a reference to a <code>DatabindingFactory</code> * it can use the factory to obtain and configure a <code>Databinding.Builder</code> * to build a <code>Databinding</code> instances. * * @return New instance of a <code>DatabindingFactory</code> */ static public DatabindingFactory newInstance() { try { Class<?> cls = Class.forName(ImplClass); return convertIfNecessary(cls); } catch (Exception e) { e.printStackTrace(); } return null; }
/** * Create a new instance of a <code>DatabindingFactory</code>. This static method * creates a new factory instance. * * Once an application has obtained a reference to a <code>DatabindingFactory</code> * it can use the factory to obtain and configure a <code>Databinding.Builder</code> * to build a <code>Databinding</code> instances. * * @return New instance of a <code>DatabindingFactory</code> */ static public DatabindingFactory newInstance() { try { Class<?> cls = Class.forName(ImplClass); return convertIfNecessary(cls); } catch (Exception e) { e.printStackTrace(); } return null; }
/** * Create a new instance of a <code>DatabindingFactory</code>. This static method * creates a new factory instance. * * Once an application has obtained a reference to a <code>DatabindingFactory</code> * it can use the factory to obtain and configure a <code>Databinding.Builder</code> * to build a <code>Databinding</code> instances. * * @return New instance of a <code>DatabindingFactory</code> */ static public DatabindingFactory newInstance() { try { Class<?> cls = Class.forName(ImplClass); return convertIfNecessary(cls); } catch (Exception e) { e.printStackTrace(); } return null; }