Daisy Open Source CMS

org.outerj.daisy.tools.importexport.import_.schema
Class SchemaLoader

java.lang.Object
  extended by org.outerj.daisy.tools.importexport.import_.schema.SchemaLoader

public class SchemaLoader
extends Object

Creates (and updates) a Daisy repository schema from schema types described in an XML file.


Method Summary
static void load(ImpExpSchema impExpSchema, Repository repository, boolean createOnly, boolean clearLocalizedData, SchemaLoadListener listener)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

load

public static void load(ImpExpSchema impExpSchema,
                        Repository repository,
                        boolean createOnly,
                        boolean clearLocalizedData,
                        SchemaLoadListener listener)
                 throws Exception
Parameters:
createOnly - when true, only create missing schema types, do not update existing types
clearLocalizedData - when false, the localized data will be updated but not cleared, i.e. if there additional locales in the target schema type, they will be left untouched.
Throws:
Exception

Daisy Open Source CMS