public class ScriptCodeGenerator extends Object implements CodeGenerator
| Modifier and Type | Field and Description |
|---|---|
protected bsh.Interpreter |
interpreter |
MARK, MAX_LENGTH| Constructor and Description |
|---|
ScriptCodeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
gen(CodeFixture fixture)
根据实体类的信息,生成一个代码
|
boolean |
isValidCode(String code)
判断是否是合法编码
|
void |
setUp() |
String |
test(CodeFixture fixture)
测试脚本
|
public String gen(CodeFixture fixture)
CodeGeneratorgen in interface CodeGeneratorpublic String test(CodeFixture fixture)
CodeGeneratortest in interface CodeGeneratorpublic boolean isValidCode(String code)
CodeGeneratorisValidCode in interface CodeGeneratorCopyright © 2005–2013 The Beangle Software Group. All rights reserved.