public interface Template
| Modifier and Type | Method and Description |
|---|---|
List<ErrorEntry> |
getStaticErrors() |
List<VariableDescription> |
getUsedVariableDescriptions() |
Set<String> |
getUsedVariables()
Deprecated.
|
String |
transform(Map<String,Object> model,
Locale locale)
Transforms a template into an expanded output using the given model.
|
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.
|
String transform(Map<String,Object> model, Locale locale, ModelAdaptor modelAdaptor, ProcessListener processListener)
model - the model used to evaluate expressions inside the templatelocale - the locale used to render this templatemodelAdaptor - adaptor used for this transformation to look up values from
modelString transform(Map<String,Object> model, Locale locale, ProcessListener processListener)
model - the model used to evaluate expressions inside the templatelocale - the locale used to render this templateString transform(Map<String,Object> model, Locale locale)
model - the model used to evaluate expressions inside the templatelocale - the locale used to render this template@Deprecated Set<String> getUsedVariables()
List<VariableDescription> getUsedVariableDescriptions()
List<ErrorEntry> getStaticErrors()
Copyright © 2017. All rights reserved.