|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.template.velocity.VelocityTemplateContext
public class VelocityTemplateContext
Field Summary | |
---|---|
org.apache.velocity.VelocityContext |
velContext
The webcontext. |
Constructor Summary | |
---|---|
VelocityTemplateContext(org.apache.velocity.VelocityContext vc)
Constructor. |
Method Summary | |
---|---|
Object |
get(String s)
Get an object from the Context by key. |
Object |
getContext()
Return the Context itself, as an Object. |
void |
put(String s,
Object o)
Put an object into the Context with a key. |
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 |
Field Detail |
---|
public org.apache.velocity.VelocityContext velContext
Constructor Detail |
---|
public VelocityTemplateContext(org.apache.velocity.VelocityContext vc)
vc
- contextMethod Detail |
---|
public void put(String s, Object o)
put
in interface TemplateContext
s
- the keyo
- the objectTemplateContext.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 |