Class AbstractGen
java.lang.Object
org.nustaq.kontraktor.webapp.javascript.minbingen.AbstractGen
Created by ruedi on 01.11.14.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidaddTopLevelClass(String clazzName) protected abstract voidgenClzList(String outFile, ArrayList<String> finallist, GenContext ctx, HashMap<Class, List<MsgInfo>> infoMap, String templateFile) protected voidabstract String
-
Field Details
-
conf
protected org.nustaq.serialization.FSTConfiguration conf -
clazzSet
-
infoMap
-
-
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
-