net.sf.excelutils.webwork
Class ExcelResult

java.lang.Object
  extended bycom.opensymphony.webwork.dispatcher.WebWorkResultSupport
      extended bynet.sf.excelutils.webwork.ExcelResult
All Implemented Interfaces:
Result, java.io.Serializable, WebWorkStatics

public class ExcelResult
extends WebWorkResultSupport

ExcelResult is a webwork's excel result

Version:
$Revision: 1.8 $ $Date: 2005/11/01 07:44:44 $
Author:
jokeway
See Also:
Serialized Form

Field Summary
protected  java.lang.String contentType
           
 
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
ExcelResult()
           
 
Method Summary
protected  void doExecute(java.lang.String location, ActionInvocation invocation)
          Execute this result, using the specified template location.
protected  java.io.InputStream getTemplate(ActionInvocation invocation, java.lang.String location, OgnlValueStack stack)
           
 
Methods inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport
conditionalParse, execute, setLocation, setParse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentType

protected java.lang.String contentType
Constructor Detail

ExcelResult

public ExcelResult()
Method Detail

doExecute

protected void doExecute(java.lang.String location,
                         ActionInvocation invocation)
                  throws java.lang.Exception
Execute this result, using the specified template location.

The template location has already been interoplated for any variable substitutions

this method obtains the excel template and the object wrapper from ValueStack.

Throws:
java.lang.Exception

getTemplate

protected java.io.InputStream getTemplate(ActionInvocation invocation,
                                          java.lang.String location,
                                          OgnlValueStack stack)


Copyright (C) 200-2005 The ExcelUtils Project.