public class SchemaGeneratorConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_GENERATOR_INITIALIZATION_ERROR
The constant SCHEMA_GENERATOR_INITIALIZATION_ERROR.
|
static String |
SCHEMA_GENERATOR_INITIALIZATION_ERROR_MSG
The constant SCHEMA_GENERATOR_INITIALIZATION_ERROR_MSG.
|
Constructor and Description |
---|
SchemaGeneratorConfig() |
Modifier and Type | Method and Description |
---|---|
static freemarker.template.Template |
getSchemaTemplate(SchemaTemplateContext schemaTemplateContext,
CompositionEntityType entityType)
Gets schema template.
|
static void |
insertSchemaTemplate(SchemaTemplateContext schemaTemplateContext,
CompositionEntityType entityType,
String schemaTemplateString)
Insert schema template.
|
public static final String SCHEMA_GENERATOR_INITIALIZATION_ERROR
public static final String SCHEMA_GENERATOR_INITIALIZATION_ERROR_MSG
public static void insertSchemaTemplate(SchemaTemplateContext schemaTemplateContext, CompositionEntityType entityType, String schemaTemplateString)
schemaTemplateContext
- the schema template contextentityType
- the entity typeschemaTemplateString
- the schema template stringpublic static freemarker.template.Template getSchemaTemplate(SchemaTemplateContext schemaTemplateContext, CompositionEntityType entityType)
schemaTemplateContext
- the schema template contextentityType
- the entity typeCopyright © 2017. All rights reserved.