Class AbstractGen
java.lang.Object
org.nustaq.kontraktor.webapp.javascript.minbingen.AbstractGen
public abstract class AbstractGen extends Object
Created by ruedi on 01.11.14.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractGen() -
Method Summary
Modifier and Type Method Description protected voidaddClz(Set<String> clazzSet, Class aClass, HashMap<Class,List<MsgInfo>> infoMap)voidaddTopLevelClass(String clazzName)protected abstract voidgenClzList(String outFile, ArrayList<String> finallist, GenContext ctx, HashMap<Class,List<MsgInfo>> infoMap, String templateFile)protected voidgenerate(String outFile)abstract StringgetTemplateFileOrClazz()
-
Field Details
-
Constructor Details
-
AbstractGen
public AbstractGen()
-
-
Method Details
-
addTopLevelClass
public void addTopLevelClass(String clazzName) throws ClassNotFoundException, IllegalAccessException, InstantiationException -
generate
- Throws:
Exception
-
addClz
-
genClzList
protected abstract void genClzList(String outFile, ArrayList<String> finallist, GenContext ctx, HashMap<Class,List<MsgInfo>> infoMap, String templateFile) throws Exception- Throws:
Exception
-
getTemplateFileOrClazz
-