|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.velocityweb.template.VelocityTemplateWrapper
| Constructor Summary | |
VelocityTemplateWrapper()
|
|
| Method Summary | |
void |
destroy()
destroy templte engine |
void |
init(javax.servlet.ServletConfig config,
java.lang.String templateRootFolder)
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 VelocityTemplateWrapper()
| Method Detail |
public void init(javax.servlet.ServletConfig config,
java.lang.String templateRootFolder)
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.Exceptionpublic void destroy()
destroy in interface TemplateWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||