Class VelocityTemplateRenderer

    • 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 CommonI18NService getCommonI18NService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String getEncoding()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected MediaService getMediaService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      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.
      void setCommonI18NService​(CommonI18NService commonI18NService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setEncoding​(java.lang.String encoding)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setMediaService​(MediaService mediaService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VelocityTemplateRenderer

        public VelocityTemplateRenderer()
        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:
        render in interface TemplateRenderer
        Parameters:
        template - the template
        context - the context
        output - 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.