public abstract class TemplatedCodeGen extends java.lang.Object implements CodeGen
Modifier and Type | Field and Description |
---|---|
private static freemarker.template.Configuration |
s_configuration |
Constructor and Description |
---|
TemplatedCodeGen() |
Modifier and Type | Method and Description |
---|---|
static freemarker.template.Template |
getTemplate(java.lang.String source) |
void |
setup(java.util.Map<java.lang.String,java.lang.Object> map,
Document doc) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateOutput, getOptions
public static freemarker.template.Template getTemplate(java.lang.String source)
public void setup(java.util.Map<java.lang.String,java.lang.Object> map, Document doc) throws java.io.IOException
java.io.IOException