org.displaytag.export
Class DefaultPdfExportView

java.lang.Object
  extended by org.displaytag.export.DefaultItextExportView
      extended by org.displaytag.export.DefaultPdfExportView
All Implemented Interfaces:
BinaryExportView, ExportView

public class DefaultPdfExportView
extends DefaultItextExportView

PDF exporter using iText.

Version:
$Revision$ ($Author$)
Author:
Jorge L. Barroso

Constructor Summary
DefaultPdfExportView()
           
 
Method Summary
 java.lang.String getMimeType()
          MimeType to return.
protected  void initItextWriter(com.lowagie.text.Document document, java.io.OutputStream out)
          Initializes the PDF writer this export view uses to write the table document.
 
Methods inherited from class org.displaytag.export.DefaultItextExportView
doExport, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPdfExportView

public DefaultPdfExportView()
Method Detail

getMimeType

public java.lang.String getMimeType()
Description copied from interface: ExportView
MimeType to return.

Specified by:
getMimeType in interface ExportView
Overrides:
getMimeType in class DefaultItextExportView
Returns:
"application/pdf"
See Also:
ExportView.getMimeType()

initItextWriter

protected void initItextWriter(com.lowagie.text.Document document,
                               java.io.OutputStream out)
                        throws com.lowagie.text.DocumentException
Initializes the PDF writer this export view uses to write the table document.

Specified by:
initItextWriter in class DefaultItextExportView
Parameters:
document - The iText document to be written.
out - The output stream to which the document is written.
Throws:
com.lowagie.text.DocumentException - If something goes wrong during initialization.


Copyright © 2002-2007 the Displaytag team. All Rights Reserved.