Class DirectiveVelocityContext

  • All Implemented Interfaces:
    DefaultValueStackProvider, Cloneable, org.apache.struts2.util.ValueStackProvider, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext

    public class DirectiveVelocityContext
    extends org.apache.velocity.VelocityContext
    implements DefaultValueStackProvider
    Since:
    8.5.5
    • Constructor Detail

      • DirectiveVelocityContext

        public DirectiveVelocityContext​(Map contextMap)
      • DirectiveVelocityContext

        public DirectiveVelocityContext​(org.apache.velocity.context.Context context)
    • Method Detail

      • 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)
        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