org.outerj.daisy.tools.importexport.import_.schema
Class SchemaLoader
java.lang.Object
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.
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 typesclearLocalizedData - 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