com.atlassian.xwork.results
Class ProfiledVelocityResult

java.lang.Object
  extended by com.opensymphony.webwork.dispatcher.WebWorkResultSupport
      extended by com.opensymphony.webwork.dispatcher.VelocityResult
          extended by com.atlassian.xwork.results.ProfiledVelocityResult
All Implemented Interfaces:
com.opensymphony.webwork.WebWorkStatics, com.opensymphony.xwork.Result, java.io.Serializable
Direct Known Subclasses:
XmlVelocityResult

public class ProfiledVelocityResult
extends com.opensymphony.webwork.dispatcher.VelocityResult

A subclass of VelocityResult which adds profiling to execution and template retrieval.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport
DEFAULT_PARAM, parse
 
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERLVET_DISPATCHER, SERVLET_CONFIG, SERVLET_DISPATCHER
 
Constructor Summary
ProfiledVelocityResult()
           
 
Method Summary
 void doExecute(java.lang.String finalLocation, com.opensymphony.xwork.ActionInvocation invocation)
           
protected  org.apache.velocity.Template getTemplate(com.opensymphony.xwork.util.OgnlValueStack stack, org.apache.velocity.app.VelocityEngine velocity, com.opensymphony.xwork.ActionInvocation invocation, java.lang.String location)
           
 
Methods inherited from class com.opensymphony.webwork.dispatcher.VelocityResult
createContext, getContentType, getEncoding
 
Methods inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport
execute, setLocation, setParse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfiledVelocityResult

public ProfiledVelocityResult()
Method Detail

doExecute

public void doExecute(java.lang.String finalLocation,
                      com.opensymphony.xwork.ActionInvocation invocation)
               throws java.lang.Exception
Overrides:
doExecute in class com.opensymphony.webwork.dispatcher.VelocityResult
Throws:
java.lang.Exception

getTemplate

protected org.apache.velocity.Template getTemplate(com.opensymphony.xwork.util.OgnlValueStack stack,
                                                   org.apache.velocity.app.VelocityEngine velocity,
                                                   com.opensymphony.xwork.ActionInvocation invocation,
                                                   java.lang.String location)
                                            throws java.lang.Exception
Overrides:
getTemplate in class com.opensymphony.webwork.dispatcher.VelocityResult
Throws:
java.lang.Exception


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.