org.apache.struts2.views.velocity
Class StrutsVelocityContext
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
org.apache.struts2.views.velocity.StrutsVelocityContext
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext
public class StrutsVelocityContext
- extends org.apache.velocity.VelocityContext
- See Also:
- Serialized Form
Constructor Summary |
StrutsVelocityContext(com.opensymphony.xwork2.util.ValueStack stack)
|
StrutsVelocityContext(org.apache.velocity.VelocityContext[] chainedContexts,
com.opensymphony.xwork2.util.ValueStack stack)
|
Methods inherited from class org.apache.velocity.VelocityContext |
clone, internalGetKeys, internalPut, internalRemove |
Methods inherited from class org.apache.velocity.context.AbstractContext |
containsKey, get, getChainedContext, getKeys, put, remove |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrutsVelocityContext
public StrutsVelocityContext(com.opensymphony.xwork2.util.ValueStack stack)
StrutsVelocityContext
public StrutsVelocityContext(org.apache.velocity.VelocityContext[] chainedContexts,
com.opensymphony.xwork2.util.ValueStack stack)
internalContainsKey
public boolean internalContainsKey(java.lang.Object key)
- Overrides:
internalContainsKey
in class org.apache.velocity.VelocityContext
internalGet
public java.lang.Object internalGet(java.lang.String key)
- Overrides:
internalGet
in class org.apache.velocity.VelocityContext
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()
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 © 2000-2006 Apache Software Foundation. All Rights Reserved.