public class CodeGeneratorDefault extends Object implements CodeGenerator
ABSOLUTE_PATH, CODE_META_DATA, JAVA_RES_ROOT, JAVA_ROOT, JAVA_TEST_RES_ROOT, JAVA_TEST_ROOT, TEMPLATE_FILE, XSTEAM_PACKAGE_NAME
Constructor and Description |
---|
CodeGeneratorDefault() |
Modifier and Type | Method and Description |
---|---|
List<String> |
generate(Context context)
代码生成处理方法
|
DocumentGenerater<TemplateEngine> |
getGenerater() |
void |
setGenerater(DocumentGenerater<TemplateEngine> generater) |
public DocumentGenerater<TemplateEngine> getGenerater()
public void setGenerater(DocumentGenerater<TemplateEngine> generater)
public List<String> generate(Context context) throws IOException
CodeGenerator
generate
in interface CodeGenerator
context
- 默认文件需要用到的上下文环境IOException
Copyright © 2006–2018 TinyGroup. All rights reserved.