org.formaria.data
Interface DataModelLoader


public interface DataModelLoader

An interface for loading custom model nodes or nodes other than the built-in node types

An extended datasource for handling databses, services and routing

Copyright: Copyright Formaria Ltd. (c) 2003

$Revision: 2.15 $ License: see license.txt


Method Summary
 void loadModel(java.lang.String className, XmlElement src, DataModel model)
          Load a custom data model node by reflectively constructing a data model loader and invoking its load method(s).
 

Method Detail

loadModel

void loadModel(java.lang.String className,
               XmlElement src,
               DataModel model)
Load a custom data model node by reflectively constructing a data model loader and invoking its load method(s).

Parameters:
className - the class to instantiate, a class implementing DataModelLoader
src - the XML source being loaded
model - the model to load