Class PageRenderServiceImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> renderElements​(java.util.List<RequestElement> requestElements)
      This method does render template.
      java.util.Map<java.lang.String,​java.lang.Object> renderTemplate​(java.lang.String htmlTemplate)
      This method does render template.
      java.lang.String renderTemplateAsHtml​(java.lang.String htmlTemplate)
      This method does render template as html.
      • Methods inherited from class java.lang.Object

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

      • PageRenderServiceImpl

        public PageRenderServiceImpl()
    • Method Detail

      • renderTemplate

        public java.util.Map<java.lang.String,​java.lang.Object> renderTemplate​(java.lang.String htmlTemplate)
        Description copied from interface: PageRenderService
        This method does render template.
        Specified by:
        renderTemplate in interface PageRenderService
        Parameters:
        htmlTemplate - which will be rendered
        Returns:
        data as map
      • renderElements

        public java.util.Map<java.lang.String,​java.lang.Object> renderElements​(java.util.List<RequestElement> requestElements)
        Description copied from interface: PageRenderService
        This method does render template.
        Specified by:
        renderElements in interface PageRenderService
        Parameters:
        requestElements - which will be compiled and found elements for render
        Returns:
        data as map
      • renderTemplateAsHtml

        public java.lang.String renderTemplateAsHtml​(java.lang.String htmlTemplate)
        Description copied from interface: PageRenderService
        This method does render template as html.
        Specified by:
        renderTemplateAsHtml in interface PageRenderService
        Parameters:
        htmlTemplate - which will be rendered
        Returns:
        data as text