Daisy Open Source CMS

org.outerj.daisy.tools.importexport.model.schema
Class ImpExpSchemaFactory

java.lang.Object
  extended by org.outerj.daisy.tools.importexport.model.schema.ImpExpSchemaFactory

public class ImpExpSchemaFactory
extends Object


Nested Class Summary
static interface ImpExpSchemaFactory.SchemaFactoryListener
           
 
Method Summary
static ImpExpSchema build(Set<String> documentTypes, Set<String> fieldTypes, Set<String> partTypes, Repository repository, ImpExpSchemaFactory.SchemaFactoryListener listener)
          Builds an ImpExpSchema containing the specified schema types.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public static ImpExpSchema build(Set<String> documentTypes,
                                 Set<String> fieldTypes,
                                 Set<String> partTypes,
                                 Repository repository,
                                 ImpExpSchemaFactory.SchemaFactoryListener listener)
                          throws Exception
Builds an ImpExpSchema containing the specified schema types. Part and field types belonging to the specified document types are automatically exported (but may be specified separately too, this won't produce an error or invalid result).

Throws:
Exception

Daisy Open Source CMS