Class PageRenderServiceImpl

    • 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