public class VelocityTemplateRenderer extends java.lang.Object implements Renderer
| Constructor and Description |
|---|
VelocityTemplateRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
evaluate(java.io.Writer result,
VelocityContext ctx,
java.io.Reader reader) |
void |
render(RendererTemplateModel template,
java.lang.Object context,
java.io.Writer output)
Renders template.
|
void |
setContextName(java.lang.String contextName) |
void |
setMediaService(MediaService mediaService) |
public void render(RendererTemplateModel template, java.lang.Object context, java.io.Writer output)
Rendererprotected void evaluate(java.io.Writer result,
VelocityContext ctx,
java.io.Reader reader)
throws java.io.IOException
java.io.IOExceptionpublic void setMediaService(MediaService mediaService)
mediaService - the mediaService to setpublic void setContextName(java.lang.String contextName)
contextName - the contextName to setCopyright © 2018 SAP SE. All Rights Reserved.