|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.context.AbstractContext
net.sf.morph.integration.velocity.ReflectorVelocityContext
public class ReflectorVelocityContext
Single parent bean Velocity context implemented with a Reflector.
| Constructor Summary | |
|---|---|
ReflectorVelocityContext()
Create a new ReflectorVelocityContext which must subsequently have its bean property set. |
|
ReflectorVelocityContext(java.lang.Object bean)
Create a new ReflectorVelocityContext. |
|
ReflectorVelocityContext(java.lang.Object bean,
BeanReflector reflector)
Create a new ReflectorVelocityContext. |
|
ReflectorVelocityContext(java.lang.Object bean,
BeanReflector reflector,
org.apache.velocity.context.Context inner)
Create a new ReflectorVelocityContext. |
|
ReflectorVelocityContext(java.lang.Object bean,
org.apache.velocity.context.Context inner)
Create a new ReflectorVelocityContext. |
|
| Method Summary | |
|---|---|
org.apache.velocity.app.event.EventCartridge |
attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
|
boolean |
getAllowRendering()
|
java.lang.Object |
getBean()
Get the bean. |
org.apache.velocity.runtime.resource.Resource |
getCurrentResource()
|
java.lang.String |
getCurrentTemplateName()
|
org.apache.velocity.app.event.EventCartridge |
getEventCartridge()
|
BeanReflector |
getReflector()
Get the reflector. |
java.lang.Object[] |
getTemplateNameStack()
|
org.apache.velocity.util.introspection.IntrospectionCacheData |
icacheGet(java.lang.Object arg0)
|
void |
icachePut(java.lang.Object arg0,
org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
|
boolean |
internalContainsKey(java.lang.Object arg0)
|
java.lang.Object |
internalGet(java.lang.String arg0)
|
java.lang.Object[] |
internalGetKeys()
|
java.lang.Object |
internalPut(java.lang.String arg0,
java.lang.Object arg1)
|
java.lang.Object |
internalRemove(java.lang.Object arg0)
Set to null and take our lumps. |
void |
popCurrentTemplateName()
|
void |
pushCurrentTemplateName(java.lang.String arg0)
|
void |
setAllowRendering(boolean arg0)
|
void |
setBean(java.lang.Object bean)
Set the bean. |
void |
setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
|
void |
setReflector(BeanReflector reflector)
Set the reflector. |
| Methods inherited from class org.apache.velocity.context.AbstractContext |
|---|
containsKey, get, getChainedContext, getKeys, put, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReflectorVelocityContext()
bean property set.
public ReflectorVelocityContext(java.lang.Object bean)
bean -
public ReflectorVelocityContext(java.lang.Object bean,
org.apache.velocity.context.Context inner)
bean - inner -
public ReflectorVelocityContext(java.lang.Object bean,
BeanReflector reflector)
bean - reflector -
public ReflectorVelocityContext(java.lang.Object bean,
BeanReflector reflector,
org.apache.velocity.context.Context inner)
bean - reflector - inner - | Method Detail |
|---|
public boolean internalContainsKey(java.lang.Object arg0)
internalContainsKey in class org.apache.velocity.context.AbstractContextpublic java.lang.Object internalGet(java.lang.String arg0)
internalGet in class org.apache.velocity.context.AbstractContextpublic java.lang.Object[] internalGetKeys()
internalGetKeys in class org.apache.velocity.context.AbstractContext
public java.lang.Object internalPut(java.lang.String arg0,
java.lang.Object arg1)
internalPut in class org.apache.velocity.context.AbstractContextpublic java.lang.Object internalRemove(java.lang.Object arg0)
internalRemove in class org.apache.velocity.context.AbstractContextpublic java.lang.Object getBean()
public void setBean(java.lang.Object bean)
bean - the Object to setpublic BeanReflector getReflector()
public void setReflector(BeanReflector reflector)
reflector - the BeanReflector to setpublic void pushCurrentTemplateName(java.lang.String arg0)
public void popCurrentTemplateName()
public java.lang.String getCurrentTemplateName()
public java.lang.Object[] getTemplateNameStack()
public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(java.lang.Object arg0)
public void icachePut(java.lang.Object arg0,
org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
public org.apache.velocity.runtime.resource.Resource getCurrentResource()
public boolean getAllowRendering()
public void setAllowRendering(boolean arg0)
public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
attachEventCartridge in interface org.apache.velocity.context.InternalEventContextpublic org.apache.velocity.app.event.EventCartridge getEventCartridge()
getEventCartridge in interface org.apache.velocity.context.InternalEventContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||