|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectninja.template.TemplateEngineFreemarker
public class TemplateEngineFreemarker
Method Summary | |
---|---|
String |
getContentType()
Get the content type this template engine renders |
String |
getSuffixOfTemplatingEngine()
For instance returns ".ftl.html" Or .ftl.json. |
void |
invoke(Context context,
Result result)
Render the given object to the given context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void invoke(Context context, Result result)
TemplateEngine
invoke
in interface TemplateEngine
context
- The context to render toresult
- The result to renderpublic String getContentType()
TemplateEngine
getContentType
in interface TemplateEngine
public String getSuffixOfTemplatingEngine()
TemplateEngine
getSuffixOfTemplatingEngine
in interface TemplateEngine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |