Class MustacheRenderTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.github.mjeanroy.springmvc.view.mustache.taglibs.MustacheRenderTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class MustacheRenderTag extends javax.servlet.jsp.tagext.TagSupport
A JSP tag that can be used to render a mustache template.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MustacheRenderTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
int
doStartTag()
void
release()
void
setCompiler(MustacheCompiler compiler)
Setcompiler
void
setTemplate(String template)
Settemplate
-
-
-
Method Detail
-
doStartTag
public int doStartTag()
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
-
doEndTag
public int doEndTag() throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
release
public void release()
- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classjavax.servlet.jsp.tagext.TagSupport
-
setCompiler
public void setCompiler(MustacheCompiler compiler)
Setcompiler
- Parameters:
compiler
- Newcompiler
-
-