net.sourceforge.rtf.template.velocity
Class VelocityContextImpl

java.lang.Object
  extended by org.apache.velocity.context.AbstractContext
      extended by org.apache.velocity.VelocityContext
          extended by 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


Field Summary
static long serialVersionUID
           
 
Constructor Summary
VelocityContextImpl()
           
VelocityContextImpl(org.apache.velocity.context.Context innerContext)
          Chaining constructor,
 
Method Summary
 org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
           
 boolean getAllowRendering()
           
 org.apache.velocity.runtime.resource.Resource getCurrentResource()
           
 java.lang.String getCurrentTemplateName()
           
 org.apache.velocity.app.event.EventCartridge getEventCartridge()
           
 IContext getGlobalContext()
           
 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)
           
 void popCurrentTemplateName()
           
 void pushCurrentTemplateName(java.lang.String arg0)
           
 java.lang.Object put(java.lang.String key, java.lang.Object value)
          Overridden so that the null values are accepted.
 void setAllowRendering(boolean arg0)
           
 void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
           
 
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
 
Methods inherited from interface net.sourceforge.rtf.template.IContext
get, getKeys
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

VelocityContextImpl

public VelocityContextImpl()

VelocityContextImpl

public VelocityContextImpl(org.apache.velocity.context.Context innerContext)
Chaining constructor,

Parameters:
innerContext - context impl to wrap
Method Detail

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.