public abstract class Template extends Object
| Constructor and Description |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
compile() |
String |
getName() |
protected abstract String |
internalRender(Map<String,Object> args)
The internal rendering method - When one template calls another template,
this method is used.
|
String |
render() |
String |
render(Map<String,Object> args)
Starts the rendering process without modifying the args-map
|
public abstract void compile()
public String render(Map<String,Object> args)
args - map containing data binding infoprotected abstract String internalRender(Map<String,Object> args)
public String render()
public String getName()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly