com.atlassian.confluence.setup.webwork
Class OutputAwareWebWorkVelocityContext
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
com.opensymphony.webwork.views.velocity.WebWorkVelocityContext
com.atlassian.confluence.setup.webwork.OutputAwareWebWorkVelocityContext
- All Implemented Interfaces:
- OutputMimeTypeAwareContext, java.lang.Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext
public final class OutputAwareWebWorkVelocityContext
- extends com.opensymphony.webwork.views.velocity.WebWorkVelocityContext
- implements OutputMimeTypeAwareContext
A WebWorkVelocityContext
that is
OutputMimeTypeAwareContext
Methods inherited from class com.opensymphony.webwork.views.velocity.WebWorkVelocityContext |
internalContainsKey, internalGet |
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 |
OutputAwareWebWorkVelocityContext
public OutputAwareWebWorkVelocityContext(com.opensymphony.xwork.util.OgnlValueStack ognlValueStack)
OutputAwareWebWorkVelocityContext
public OutputAwareWebWorkVelocityContext(org.apache.velocity.VelocityContext[] velocityContexts,
com.opensymphony.xwork.util.OgnlValueStack ognlValueStack)
getOutputMimeType
public java.lang.String getOutputMimeType()
- Specified by:
getOutputMimeType
in interface OutputMimeTypeAwareContext
- Returns:
- the MIME type of the destination format for this context.
setOutputMimeType
public void setOutputMimeType(java.lang.String outputMimeType)
pushCurrentTemplateName
public void pushCurrentTemplateName(java.lang.String arg0)
popCurrentTemplateName
public void popCurrentTemplateName()
getCurrentTemplateName
public java.lang.String getCurrentTemplateName()
getTemplateNameStack
public java.lang.Object[] getTemplateNameStack()
pushCurrentMacroName
public void pushCurrentMacroName(java.lang.String arg0)
popCurrentMacroName
public void popCurrentMacroName()
getCurrentMacroName
public java.lang.String getCurrentMacroName()
getCurrentMacroCallDepth
public int getCurrentMacroCallDepth()
getMacroNameStack
public java.lang.Object[] getMacroNameStack()
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)
setMacroLibraries
public void setMacroLibraries(java.util.List arg0)
getMacroLibraries
public java.util.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
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.