|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.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 against| Method Detail |
|---|
public void put(String s,
Object o)
put in interface TemplateContexts - keyo - valueTemplateContext.put(java.lang.String, java.lang.Object)public Object get(String s)
get in interface TemplateContexts - key
TemplateContext.get(java.lang.String)public Object getContext()
getContext in interface TemplateContextTemplateContext.getContext()public void setPassbackExceptionHandling()
setPassbackExceptionHandling in interface TemplateContextTemplateContext.setPassbackExceptionHandling()public void setPropagateExceptionHandling()
setPropagateExceptionHandling in interface TemplateContextTemplateContext.setPropagateExceptionHandling()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||