public class MustacheViewRenderer extends Object implements ViewRenderer
ViewRenderer which renders Mustache (.mustache) templates.| Constructor and Description |
|---|
MustacheViewRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Map<String,String> options)
options for configuring the view renderer
|
String |
getConfigurationKey() |
boolean |
isRenderable(View view)
Returns
true if the renderer can render the given View. |
void |
render(View view,
Locale locale,
OutputStream output)
|
public boolean isRenderable(View view)
ViewRenderertrue if the renderer can render the given View.isRenderable in interface ViewRendererview - a viewtrue if view can be renderedpublic void render(View view, Locale locale, OutputStream output) throws IOException
ViewRendererrender in interface ViewRendererview - a viewlocale - the locale in which the view should be renderedoutput - the output streamIOException - if there is an error writing to outputpublic void configure(Map<String,String> options)
ViewRendererconfigure in interface ViewRendererpublic String getConfigurationKey()
getConfigurationKey in interface ViewRendererCopyright © 2021. All rights reserved.