public abstract class AbstractGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected freemarker.template.Configuration |
config |
protected static ExceptionInInitializerError |
INITIALIZER_EXCEPTION |
| Constructor and Description |
|---|
AbstractGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatDouble(double value) |
static String |
formatDouble(String pattern,
double... values) |
static String |
formatString(String pattern,
String... values) |
protected abstract String |
getTemplatePath() |
protected StringBuffer |
writeTemplate(Map<String,Object> ctxt) |
protected StringBuffer |
writeTemplate(Map<String,Object> ctxt,
String path) |
protected static ExceptionInInitializerError INITIALIZER_EXCEPTION
protected freemarker.template.Configuration config
protected abstract String getTemplatePath()
protected StringBuffer writeTemplate(Map<String,Object> ctxt, String path) throws org.uberfire.annotations.processors.exceptions.GenerationException
org.uberfire.annotations.processors.exceptions.GenerationExceptionprotected StringBuffer writeTemplate(Map<String,Object> ctxt) throws org.uberfire.annotations.processors.exceptions.GenerationException
org.uberfire.annotations.processors.exceptions.GenerationExceptionpublic static String formatDouble(double value)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.