freemarker.ext.jsp

Class FreemarkerTag

Implemented Interfaces:
BodyTag

public class FreemarkerTag
extends java.lang.Object
implements BodyTag

Simple implementation of JSP tag to allow use of FreeMarker templates in JSP. Inspired by similar class in Velocity template engine developed by Geir Magnusson Jr.
Author:
Attila Szegedi

Method Summary

int
doAfterBody()
int
doEndTag()
void
doInitBody()
int
doStartTag()
boolean
getCaching()
Tag
getParent()
void
release()
void
setBodyContent(BodyContent bodyContent)
void
setCaching(boolean caching)
void
setName(String name)
void
setPageContext(PageContext pageContext)
void
setParent(Tag parent)

Method Details

doAfterBody

public int doAfterBody()

doEndTag

public int doEndTag()
            throws JspException

doInitBody

public void doInitBody()

doStartTag

public int doStartTag()

getCaching

public boolean getCaching()

getParent

public Tag getParent()

release

public void release()

setBodyContent

public void setBodyContent(BodyContent bodyContent)

setCaching

public void setCaching(boolean caching)

setName

public void setName(String name)

setPageContext

public void setPageContext(PageContext pageContext)

setParent

public void setParent(Tag parent)