com.atlassian.confluence.setup.webwork
Class OutputAwareWebWorkVelocityContext

java.lang.Object
  extended by org.apache.velocity.context.AbstractContext
      extended by org.apache.velocity.VelocityContext
          extended by com.opensymphony.webwork.views.velocity.WebWorkVelocityContext
              extended by com.atlassian.confluence.setup.webwork.OutputAwareWebWorkVelocityContext
All Implemented Interfaces:
OutputMimeTypeAwareContext, 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


Constructor Summary
OutputAwareWebWorkVelocityContext(com.opensymphony.xwork.util.OgnlValueStack ognlValueStack)
           
OutputAwareWebWorkVelocityContext(org.apache.velocity.VelocityContext[] velocityContexts, com.opensymphony.xwork.util.OgnlValueStack ognlValueStack)
           
 
Method Summary
 String getOutputMimeType()
           
 void setOutputMimeType(String outputMimeType)
           
 
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
 

Constructor Detail

OutputAwareWebWorkVelocityContext

public OutputAwareWebWorkVelocityContext(com.opensymphony.xwork.util.OgnlValueStack ognlValueStack)

OutputAwareWebWorkVelocityContext

public OutputAwareWebWorkVelocityContext(org.apache.velocity.VelocityContext[] velocityContexts,
                                         com.opensymphony.xwork.util.OgnlValueStack ognlValueStack)
Method Detail

getOutputMimeType

public String getOutputMimeType()
Specified by:
getOutputMimeType in interface OutputMimeTypeAwareContext
Returns:
the MIME type of the destination format for this context.

setOutputMimeType

public void setOutputMimeType(String outputMimeType)


Copyright © 2003-2013 Atlassian. All Rights Reserved.