Package de.hybris.platform.b2b.mail.impl
Class VelocityTemplateRenderer
- java.lang.Object
-
- de.hybris.platform.b2b.mail.impl.VelocityTemplateRenderer
-
- All Implemented Interfaces:
TemplateRenderer
@Deprecated(since="4.4", forRemoval=true) public class VelocityTemplateRenderer extends java.lang.Object implements TemplateRendererDeprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseVelocityTemplateRendererRenders velocity templates defined byRendererTemplateModel's.
-
-
Constructor Summary
Constructors Constructor Description VelocityTemplateRenderer()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected CommonI18NServicegetCommonI18NService()Deprecated, for removal: This API element is subject to removal in a future version.protected java.lang.StringgetEncoding()Deprecated, for removal: This API element is subject to removal in a future version.protected MediaServicegetMediaService()Deprecated, for removal: This API element is subject to removal in a future version.voidrender(RendererTemplateModel template, java.lang.Object context, java.io.Writer output)Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the content of the templates media via a velocity engine.voidsetCommonI18NService(CommonI18NService commonI18NService)Deprecated, for removal: This API element is subject to removal in a future version.voidsetEncoding(java.lang.String encoding)Deprecated, for removal: This API element is subject to removal in a future version.voidsetMediaService(MediaService mediaService)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
render
public void render(RendererTemplateModel template, java.lang.Object context, java.io.Writer output)
Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the content of the templates media via a velocity engine. I If an error occurs it is logged and the method terminates.- Specified by:
renderin interfaceTemplateRenderer- Parameters:
template- the templatecontext- the contextoutput- the output
-
getMediaService
protected MediaService getMediaService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setMediaService
public void setMediaService(MediaService mediaService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getEncoding
protected java.lang.String getEncoding()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setEncoding
public void setEncoding(java.lang.String encoding)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-