org.extremecomponents.table.filter
Class ExportFilter

java.lang.Object
  extended byorg.extremecomponents.table.filter.ExportFilter
All Implemented Interfaces:
javax.servlet.Filter

public final class ExportFilter
extends java.lang.Object
implements javax.servlet.Filter

Filter to handle the incoming FOP requests to generate the PDF document. ExportFilter ExportFilter org.extremecomponents.table.filter.ExportFilter ExportFilter * ExportFilter eXtremeTest

Author:
jeff johnston

Constructor Summary
ExportFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void handlePDF(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 void handleXLS(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 void renderFO(org.xml.sax.InputSource foFile, javax.servlet.http.HttpServletResponse response)
           
 void setResponseHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String exportName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportFilter

public ExportFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
java.io.IOException
javax.servlet.ServletException

handleXLS

public void handleXLS(javax.servlet.ServletRequest request,
                      javax.servlet.ServletResponse response)
               throws java.lang.Exception
Throws:
java.lang.Exception

handlePDF

public void handlePDF(javax.servlet.ServletRequest request,
                      javax.servlet.ServletResponse response)
               throws java.lang.Exception
Throws:
java.lang.Exception

renderFO

public void renderFO(org.xml.sax.InputSource foFile,
                     javax.servlet.http.HttpServletResponse response)
              throws java.lang.Exception
Throws:
java.lang.Exception

setResponseHeaders

public void setResponseHeaders(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               java.lang.String exportName)


Copyright © 2004 sourceforge. All Rights Reserved.