public class MustacheTemplateEngine extends Object implements org.wso2.msf4j.template.TemplateEngine
| Modifier and Type | Method and Description |
|---|---|
static MustacheTemplateEngine |
instance() |
String |
render(String view,
Object model)
Render a given model from a given template.
|
public String render(String view, Object model)
render in interface org.wso2.msf4j.template.TemplateEngineview - name of the template file in resources/templates directorymodel - model to be rendered from the templatepublic static MustacheTemplateEngine instance()
Copyright © 2025 WSO2. All rights reserved.