net.sourceforge.rtf.template.velocity
Class VelocityContextImpl
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
net.sourceforge.rtf.template.velocity.VelocityContextImpl
- All Implemented Interfaces:
- java.lang.Cloneable, IContext, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext
public class VelocityContextImpl
- extends org.apache.velocity.VelocityContext
- implements IContext
| Methods inherited from class org.apache.velocity.VelocityContext |
clone, internalContainsKey, internalGet, internalGetKeys, internalPut, internalRemove |
| Methods inherited from class org.apache.velocity.context.AbstractContext |
containsKey, get, getChainedContext, getKeys, remove |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
VelocityContextImpl
public VelocityContextImpl()
VelocityContextImpl
public VelocityContextImpl(org.apache.velocity.context.Context innerContext)
- Chaining constructor,
- Parameters:
innerContext - context impl to wrap
put
public java.lang.Object put(java.lang.String key,
java.lang.Object value)
- Overridden so that the
null values are accepted.
- Specified by:
put in interface IContext- Specified by:
put in interface org.apache.velocity.context.Context- Overrides:
put in class org.apache.velocity.context.AbstractContext
- See Also:
AbstractVelocityContext#put(String,Object)
getGlobalContext
public IContext getGlobalContext()
- Specified by:
getGlobalContext in interface IContext
pushCurrentTemplateName
public void pushCurrentTemplateName(java.lang.String arg0)
popCurrentTemplateName
public void popCurrentTemplateName()
getCurrentTemplateName
public java.lang.String getCurrentTemplateName()
getTemplateNameStack
public java.lang.Object[] getTemplateNameStack()
icacheGet
public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(java.lang.Object arg0)
icachePut
public void icachePut(java.lang.Object arg0,
org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
setCurrentResource
public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
getCurrentResource
public org.apache.velocity.runtime.resource.Resource getCurrentResource()
getAllowRendering
public boolean getAllowRendering()
setAllowRendering
public void setAllowRendering(boolean arg0)
attachEventCartridge
public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
- Specified by:
attachEventCartridge in interface org.apache.velocity.context.InternalEventContext
getEventCartridge
public org.apache.velocity.app.event.EventCartridge getEventCartridge()
- Specified by:
getEventCartridge in interface org.apache.velocity.context.InternalEventContext
Copyright 2007 null. All Rights Reserved.