fr.opensagres.xdocreport.converter.internal.pdf.fop
Class AbstractFOPConverter

java.lang.Object
  extended by fr.opensagres.xdocreport.converter.internal.AbstractConverterEntriesSupport
      extended by fr.opensagres.xdocreport.converter.internal.xslt.AbstractXSLTConverter
          extended by fr.opensagres.xdocreport.converter.internal.xslfo.AbstractXSLFOConverter
              extended by fr.opensagres.xdocreport.converter.internal.pdf.fop.AbstractFOPConverter
All Implemented Interfaces:
IConverter, IXSLFOConverter, MimeMappingConstants
Direct Known Subclasses:
DocxFOPConverter, ODTFOPConverter

public abstract class AbstractFOPConverter
extends AbstractXSLFOConverter

Abstract converter for FOP which use XSLT to generate FO.


Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.converter.MimeMappingConstants
FO_EXTENSION, FO_MIME_MAPPING, PDF_EXTENSION, PDF_MIME_MAPPING, PDF_MIME_TYPE, XHTML_EXTENSION, XHTML_MIME_MAPPING, XHTML_MIME_TYPE, XML_MIME_TYPE, ZIP_EXTENSION, ZIP_MIME_MAPPING, ZIP_MIME_TYPE
 
Constructor Summary
AbstractFOPConverter()
           
 
Method Summary
 void convert(IEntryInputStreamProvider inProvider, OutputStream outputStream, Options options)
          Convert the given entry input stream provider document to another format.
 void convert(IEntryInputStreamProvider inProvider, OutputStream outputStream, OutputStream outForFO, Options options)
           
 MimeMapping getMimeMapping()
          Returns mime mapping switch the kind of the converter (pdf, fo...).
 
Methods inherited from class fr.opensagres.xdocreport.converter.internal.xslfo.AbstractXSLFOConverter
convert, convert2FO, convert2FO, convert2FO, convert2FO, getXSLFOStream, getXSLFOTemplateURI, getXSLFOURIResolver, getXSLTemplateURI, getXSLTStream, getXSLTURIResolver
 
Methods inherited from class fr.opensagres.xdocreport.converter.internal.xslt.AbstractXSLTConverter
convert, convert, createURIResolver, getEntryNames, getMainEntryName
 
Methods inherited from class fr.opensagres.xdocreport.converter.internal.AbstractConverterEntriesSupport
canSupportEntries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFOPConverter

public AbstractFOPConverter()
Method Detail

convert

public void convert(IEntryInputStreamProvider inProvider,
                    OutputStream outputStream,
                    Options options)
             throws XDocConverterException
Description copied from interface: IConverter
Convert the given entry input stream provider document to another format.

Specified by:
convert in interface IConverter
Overrides:
convert in class AbstractXSLFOConverter
Throws:
XDocConverterException

convert

public void convert(IEntryInputStreamProvider inProvider,
                    OutputStream outputStream,
                    OutputStream outForFO,
                    Options options)
             throws XDocConverterException
Throws:
XDocConverterException

getMimeMapping

public MimeMapping getMimeMapping()
Description copied from interface: IConverter
Returns mime mapping switch the kind of the converter (pdf, fo...).

Specified by:
getMimeMapping in interface IConverter
Overrides:
getMimeMapping in class AbstractXSLFOConverter
Returns:


Copyright © 2013. All rights reserved.