Interface PageRenderService
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
PageRenderServiceImpl
public interface PageRenderService extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
renderTemplate
java.util.Map<java.lang.String,java.lang.Object> renderTemplate(java.lang.String htmlTemplate)
This method does render template.- Parameters:
htmlTemplate
- which will be rendered- Returns:
- data as map
-
renderElements
java.util.Map<java.lang.String,java.lang.Object> renderElements(java.util.List<RequestElement> requestElements)
This method does render template.- Parameters:
requestElements
- which will be compiled and found elements for render- Returns:
- data as map
-
renderTemplateAsHtml
java.lang.String renderTemplateAsHtml(java.lang.String htmlTemplate)
This method does render template as html.- Parameters:
htmlTemplate
- which will be rendered- Returns:
- data as text
-
-