org.apache.struts2.views.velocity
类 StrutsVelocityContext

java.lang.Object
  继承者 org.apache.velocity.context.AbstractContext
      继承者 org.apache.velocity.VelocityContext
          继承者 org.apache.struts2.views.velocity.StrutsVelocityContext
所有已实现的接口:
Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext

public class StrutsVelocityContext
extends org.apache.velocity.VelocityContext


构造方法摘要
StrutsVelocityContext(com.opensymphony.xwork2.util.ValueStack stack)
           
StrutsVelocityContext(org.apache.velocity.VelocityContext[] chainedContexts, com.opensymphony.xwork2.util.ValueStack stack)
           
 
方法摘要
 org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
           
 boolean getAllowRendering()
           
 int getCurrentMacroCallDepth()
           
 String getCurrentMacroName()
           
 org.apache.velocity.runtime.resource.Resource getCurrentResource()
           
 String getCurrentTemplateName()
           
 org.apache.velocity.app.event.EventCartridge getEventCartridge()
           
 List getMacroLibraries()
           
 Object[] getMacroNameStack()
           
 Object[] getTemplateNameStack()
           
 org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(Object arg0)
           
 void icachePut(Object arg0, org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
           
 boolean internalContainsKey(Object key)
           
 Object internalGet(String key)
           
 void popCurrentMacroName()
           
 void popCurrentTemplateName()
           
 void pushCurrentMacroName(String arg0)
           
 void pushCurrentTemplateName(String arg0)
           
 void setAllowRendering(boolean arg0)
           
 void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
           
 void setMacroLibraries(List arg0)
           
 
从类 org.apache.velocity.VelocityContext 继承的方法
clone, internalGetKeys, internalPut, internalRemove
 
从类 org.apache.velocity.context.AbstractContext 继承的方法
containsKey, get, getChainedContext, getKeys, put, remove
 
从类 java.lang.Object 继承的方法
equals, 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(Object key)
覆盖:
org.apache.velocity.VelocityContext 中的 internalContainsKey

internalGet

public Object internalGet(String key)
覆盖:
org.apache.velocity.VelocityContext 中的 internalGet

pushCurrentTemplateName

public void pushCurrentTemplateName(String arg0)

popCurrentTemplateName

public void popCurrentTemplateName()

getCurrentTemplateName

public String getCurrentTemplateName()

getTemplateNameStack

public Object[] getTemplateNameStack()

pushCurrentMacroName

public void pushCurrentMacroName(String arg0)

popCurrentMacroName

public void popCurrentMacroName()

getCurrentMacroName

public String getCurrentMacroName()

getCurrentMacroCallDepth

public int getCurrentMacroCallDepth()

getMacroNameStack

public Object[] getMacroNameStack()

icacheGet

public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(Object arg0)

icachePut

public void icachePut(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)

setMacroLibraries

public void setMacroLibraries(List arg0)

getMacroLibraries

public List getMacroLibraries()

attachEventCartridge

public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
指定者:
接口 org.apache.velocity.context.InternalEventContext 中的 attachEventCartridge

getEventCartridge

public org.apache.velocity.app.event.EventCartridge getEventCartridge()
指定者:
接口 org.apache.velocity.context.InternalEventContext 中的 getEventCartridge