|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.velocityweb.template.FreemarkerTemplateWrapper
tempate wrapper for Freemarker
| Constructor Summary | |
FreemarkerTemplateWrapper()
|
|
| Method Summary | |
void |
destroy()
destroy templte engine |
void |
init(javax.servlet.ServletConfig config,
java.lang.String templateFolder)
init templte engine |
java.lang.String |
merge(java.lang.String templateFileName,
java.lang.String templateFileEncoding,
java.util.Map context)
merge HTML templte file with dynamic data |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FreemarkerTemplateWrapper()
| Method Detail |
public void destroy()
destroy in interface TemplateWrapper
public void init(javax.servlet.ServletConfig config,
java.lang.String templateFolder)
throws javax.servlet.ServletException
init in interface TemplateWrapperjavax.servlet.ServletException
public java.lang.String merge(java.lang.String templateFileName,
java.lang.String templateFileEncoding,
java.util.Map context)
throws java.lang.Exception
merge in interface TemplateWrappertemplateFileName - HTML templte file nametemplateFileEncoding - encoding of HTML templte filecontext - dynamic data
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||