public abstract class AbstractTemplate extends Object implements Template
| Modifier and Type | Field and Description |
|---|---|
static String |
EVEN_PREFIX |
static String |
FIRST_PREFIX |
static String |
INDEX_PREFIX |
static String |
LAST_PREFIX |
static String |
ODD_PREFIX |
| Constructor and Description |
|---|
AbstractTemplate() |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<String> |
getUsedVariables() |
String |
transform(Map<String,Object> model,
Locale locale)
Transforms a template into an expanded output using the given model.
|
abstract String |
transform(Map<String,Object> model,
Locale locale,
ModelAdaptor modelAdaptor,
ProcessListener processListener)
Transforms a template into an expanded output using the given model.
|
String |
transform(Map<String,Object> model,
Locale locale,
ProcessListener processListener)
Transforms a template into an expanded output using the given model.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStaticErrors, getUsedVariableDescriptionspublic static final String ODD_PREFIX
public static final String EVEN_PREFIX
public static final String LAST_PREFIX
public static final String FIRST_PREFIX
public static final String INDEX_PREFIX
public abstract String transform(Map<String,Object> model, Locale locale, ModelAdaptor modelAdaptor, ProcessListener processListener)
public String transform(Map<String,Object> model, Locale locale, ProcessListener processListener)
public String transform(Map<String,Object> model, Locale locale)
public abstract Set<String> getUsedVariables()
getUsedVariables in interface TemplateCopyright © 2017. All rights reserved.