planetj.helpers
Interface IPDFGenerator

All Known Implementing Classes:
PDFHelper

public interface IPDFGenerator

A Class which can be used to generate PDF data. Implementors should provide a default constructor


Method Summary
 java.lang.Object generatePDF(java.lang.Object source, PDFFileDescriptor descriptor, ExecutingContext ec)
          Generates PDF for an object.
 

Method Detail

generatePDF

public java.lang.Object generatePDF(java.lang.Object source,
                                    PDFFileDescriptor descriptor,
                                    ExecutingContext ec)
                             throws CMException
Generates PDF for an object. The PDFFileDescriptor contains configuration options for the PDF, including where it is output to.

Parameters:
source - The data from which the PDF will be generated
descriptor - The PDFFile descriptor containing configuration options for the output
Throws:
CMException