|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.template.webmacro.WebmacroTemplateContext
public class WebmacroTemplateContext
Implements a template context for Melati / Webmacro without a Servlet.
Constructor Summary | |
---|---|
WebmacroTemplateContext(org.webmacro.Context c)
Constructor. |
Method Summary | |
---|---|
Object |
get(String s)
Get a value by key. |
Object |
getContext()
Get the context itself. |
void |
put(String s,
Object o)
Set a value in the Context. |
void |
setPassbackExceptionHandling()
Set the current exception handling style. |
void |
setPropagateExceptionHandling()
Set the current exception handling style. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebmacroTemplateContext(org.webmacro.Context c)
c
- a Context
to use to evaluate againstMethod Detail |
---|
public void put(String s, Object o)
put
in interface TemplateContext
s
- keyo
- valueTemplateContext.put(java.lang.String, java.lang.Object)
public Object get(String s)
get
in interface TemplateContext
s
- key
TemplateContext.get(java.lang.String)
public Object getContext()
getContext
in interface TemplateContext
TemplateContext.getContext()
public void setPassbackExceptionHandling()
setPassbackExceptionHandling
in interface TemplateContext
TemplateContext.setPassbackExceptionHandling()
public void setPropagateExceptionHandling()
setPropagateExceptionHandling
in interface TemplateContext
TemplateContext.setPropagateExceptionHandling()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |