Interface Renderer
-
- All Known Implementing Classes:
VelocityTemplateRenderer
public interface RendererRenders template using context informations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrender(RendererTemplateModel template, java.lang.Object context, java.io.Writer output)Renders template.
-
-
-
Method Detail
-
render
void render(RendererTemplateModel template, java.lang.Object context, java.io.Writer output)
Renders template. Rendered content is stored into output.- Parameters:
template- to rendercontext- context (usually map of properties)output- rendered content- Throws:
RendererException- if any problem during rendering occurrs
-
-