public interface ITemplatingEngine
HTML page to render.| Modifier and Type | Method and Description |
|---|---|
String |
evaluate(String content,
IJsonObject jsonObject)
Evaluates the content, using the given parameters.
|
String |
evaluate(String content,
IJsonObject jsonObject,
Locale locale)
Evaluates the content, using the given parameters.
|
String |
evaluate(String content,
Map<String,Object> params)
Evaluates the content, using the given parameters.
|
String |
evaluate(String content,
Map<String,Object> params,
Locale locale)
Evaluates the content, using the given parameters.
|
String |
fromTemplate(String templatePath,
IJsonObject jsonObject)
Evaluates a template using the parameters specified
as a
IJsonObject. |
String |
fromTemplate(String templatePath,
IJsonObject jsonObject,
Locale locale)
Evaluates a template using the parameters specified
as a
IJsonObject. |
String |
fromTemplate(String templatePath,
Map<String,Object> params)
Evaluates a template using the given parameters.
|
String |
fromTemplate(String templatePath,
Map<String,Object> params,
Locale locale)
Evaluates a template using the given parameters.
|
String evaluate(String content, Map<String,Object> params)
String evaluate(String content, Map<String,Object> params, Locale locale)
String evaluate(String content, IJsonObject jsonObject)
IJsonObject.
Uses the default Locale.String evaluate(String content, IJsonObject jsonObject, Locale locale)
IJsonObject.
Uses the specified Locale.String fromTemplate(String templatePath, Map<String,Object> params)
String fromTemplate(String templatePath, Map<String,Object> params, Locale locale)
String fromTemplate(String templatePath, IJsonObject jsonObject)
IJsonObject.
Uses the default Locale.String fromTemplate(String templatePath, IJsonObject jsonObject, Locale locale)
IJsonObject.
Uses the specified Locale.Copyright © 2016. All rights reserved.