public class ModelChainedFileWriter extends BaseChainedFileWriter
|
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_DEFAULT_PACKAGE |
static String |
PROP_EXCLUDE_TEMPLATES |
static String |
PROP_GENERATED_PACKAGES |
static String |
PROP_MODEL_PROPERTIES_PROVIDER |
static String |
PROP_MODEL_READER |
static String |
PROP_READER |
static String |
PROP_TEMPLATE_CONFIGURATION |
static String |
PROP_TEMPLATES |
static String |
PROP_TEMPLATES_LIST |
authorizedPropertyDescriptions, entries, nextWriter, previousWriter, properties| Constructor and Description |
|---|
ModelChainedFileWriter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptInclude(String include) |
boolean |
acceptModel(String modelType) |
void |
generate(ChainedFileWriterConfiguration configuration,
File outputDir,
Map<File,List<File>> filesByRoot,
Map<File,List<File>> resourcesByFile) |
String |
getDefaultIncludes() |
String |
getDefaultInputDirectory() |
String |
getDefaultOutputDirectory() |
String |
getDefaultPackage() |
String |
getDefaultTestInputDirectory() |
String |
getDefaultTestOutputDirectory() |
String[] |
getExcludeTemplates() |
String |
getGeneratedPackages() |
String |
getInputProtocol() |
protected ModelPropertiesUtil.ModelPropertiesProvider |
getModelPropertiesProvider() |
protected ModelReader<?> |
getModelReader() |
String |
getOutputProtocol(String modelType) |
protected String |
getReader() |
TemplateConfiguration |
getTemplateConfiguration() |
String |
getTemplates() |
List<Template<Model>> |
getTemplatesList() |
protected void |
initWriter(ChainedFileWriterConfiguration configuration) |
acceptObjectModelOrStateModel, copyResources, getFiles, getLog, getResources, setLogaddEntry, clear, generate, getAuthorizedPropertyDescriptions, getAuthorizedPropertyNames, getEntries, getExtractDirectory, getInputProtocol, getNextWriter, getOutputDirectory, getPreviousWriter, getProperty, getWriterReport, setNextWriter, setWriterReportpublic static final String PROP_GENERATED_PACKAGES
public static final String PROP_EXCLUDE_TEMPLATES
public static final String PROP_TEMPLATES
public static final String PROP_TEMPLATES_LIST
public static final String PROP_DEFAULT_PACKAGE
public static final String PROP_MODEL_READER
public static final String PROP_MODEL_PROPERTIES_PROVIDER
public static final String PROP_READER
public static final String PROP_TEMPLATE_CONFIGURATION
public String getInputProtocol()
public boolean acceptModel(String modelType)
public boolean acceptInclude(String include)
public String getDefaultIncludes()
public String getDefaultInputDirectory()
public String getDefaultOutputDirectory()
public String getDefaultTestInputDirectory()
public String getDefaultTestOutputDirectory()
public String getDefaultPackage()
public String[] getExcludeTemplates()
public String getGeneratedPackages()
public String getTemplates()
public TemplateConfiguration getTemplateConfiguration()
protected ModelReader<?> getModelReader()
protected String getReader()
protected ModelPropertiesUtil.ModelPropertiesProvider getModelPropertiesProvider()
protected void initWriter(ChainedFileWriterConfiguration configuration)
initWriter in class BaseChainedFileWriterpublic void generate(ChainedFileWriterConfiguration configuration, File outputDir, Map<File,List<File>> filesByRoot, Map<File,List<File>> resourcesByFile) throws IOException
generate in class AbstractChainedFileWriterIOExceptionCopyright © 2006-2013 CodeLutin. All Rights Reserved.