org.cruxframework.crux.tools.schema
Class DefaultSchemaGenerator
java.lang.Object
org.cruxframework.crux.tools.schema.DefaultSchemaGenerator
- All Implemented Interfaces:
- CruxSchemaGenerator
public class DefaultSchemaGenerator
- extends Object
- implements CruxSchemaGenerator
- Author:
- Thiago da Rosa de Bustamante
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destDir
protected File destDir
enumTypes
protected Map<String,Class<?>> enumTypes
namespacesForCatalog
protected Map<String,File> namespacesForCatalog
projectBaseDir
protected File projectBaseDir
subTagTypes
protected Stack<Class<? extends WidgetChildProcessor<?>>> subTagTypes
templateParser
protected TemplateParser templateParser
schemaMessages
protected SchemaMessages schemaMessages
DefaultSchemaGenerator
public DefaultSchemaGenerator(File projectBaseDir,
File destDir,
File webDir)
- Parameters:
destDir -
DefaultSchemaGenerator
public DefaultSchemaGenerator(String projectBaseDir,
String destDir,
String webDir)
- Parameters:
destRelativeDir -
generateCatalog
public void generateCatalog()
throws SchemaGeneratorException
- Specified by:
generateCatalog in interface CruxSchemaGenerator
- Parameters:
out -
- Throws:
SchemaGeneratorException
generateSchemas
public void generateSchemas()
throws SchemaGeneratorException
- Specified by:
generateSchemas in interface CruxSchemaGenerator
- Throws:
SchemaGeneratorException- See Also:
CruxSchemaGenerator.generateSchemas()
generateDocumentation
public void generateDocumentation()
throws SchemaGeneratorException
- Specified by:
generateDocumentation in interface CruxSchemaGenerator
- Throws:
SchemaGeneratorException
initializeSchemaGenerator
protected void initializeSchemaGenerator(File projectBaseDir,
File webDir)
- Parameters:
projectBaseDir - webDir -
registerNamespaceForCatalog
protected void registerNamespaceForCatalog(String targetNS,
File file)
- Parameters:
targetNS - coreFile -
Copyright © 2014. All rights reserved.