类 DirectiveMethodManualGenerator
java.lang.Object
com.publiccms.common.generator.DirectiveMethodManualGenerator
SourceMaker 代码生成工具
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static String
filterHtml
(String comment, String lang) void
生成某个实体类的代码private String
getDirectiveNamespace
(Class<?> clazz) private String
getDirectiveShortName
(String namespace, String className) static void
-
字段详细资料
-
log
protected static final org.apache.commons.logging.Log log -
DOC_PATH
- 另请参阅:
-
DEFAULT_NAMESPACE
- 另请参阅:
-
directiveRemoveRegex
- 另请参阅:
-
methodRemoveRegex
- 另请参阅:
-
messages
-
config
private freemarker.template.Configuration config
-
-
构造器详细资料
-
DirectiveMethodManualGenerator
- 抛出:
IOException
-
-
方法详细资料
-
main
- 参数:
arg
-- 抛出:
ClassNotFoundException
IOException
-
generate
public void generate(String basePackage, String directivePackage, String methodPackage) throws ClassNotFoundException, IOException 生成某个实体类的代码- 参数:
basePackage
-directivePackage
-methodPackage
-- 抛出:
IOException
ClassNotFoundException
-
filterHtml
-
getDirectiveNamespace
-
getDirectiveShortName
-