fr.opensagres.xdocreport.converter.internal.xslfo
Class AbstractXSLFOConverter
java.lang.Object
fr.opensagres.xdocreport.converter.internal.AbstractConverterEntriesSupport
fr.opensagres.xdocreport.converter.internal.xslt.AbstractXSLTConverter
fr.opensagres.xdocreport.converter.internal.xslfo.AbstractXSLFOConverter
- All Implemented Interfaces:
- IConverter, IXSLFOConverter, MimeMappingConstants
- Direct Known Subclasses:
- AbstractFOPConverter, DocxXSLFOConverter, ODTXSLFOConverter
public abstract class AbstractXSLFOConverter
- extends AbstractXSLTConverter
- implements IXSLFOConverter, MimeMappingConstants
Abstract converter for XSL-FO which use XSLT.
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 |
Method Summary |
void |
convert(IEntryInputStreamProvider inProvider,
OutputStream out,
Options options)
Convert the given entry input stream provider document to another format. |
void |
convert(InputStream in,
OutputStream out,
Options options)
Convert the given entry input stream document zipped (odt, docx...) to another format. |
void |
convert2FO(IEntryInputStreamProvider inProvider,
OutputStream out,
Options options)
|
void |
convert2FO(IEntryInputStreamProvider inProvider,
Result result,
Options options)
|
void |
convert2FO(InputStream in,
OutputStream out,
Options options)
|
void |
convert2FO(InputStream in,
Result result,
Options options)
|
MimeMapping |
getMimeMapping()
Returns mime mapping switch the kind of the converter (pdf, fo...). |
protected abstract InputStream |
getXSLFOStream()
|
protected abstract String |
getXSLFOTemplateURI()
|
protected abstract URIResolver |
getXSLFOURIResolver()
|
protected String |
getXSLTemplateURI()
|
protected InputStream |
getXSLTStream()
|
protected URIResolver |
getXSLTURIResolver()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXSLFOConverter
public AbstractXSLFOConverter()
convert
public void convert(IEntryInputStreamProvider inProvider,
OutputStream out,
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 AbstractXSLTConverter
- Throws:
XDocConverterException
convert2FO
public void convert2FO(IEntryInputStreamProvider inProvider,
OutputStream out,
Options options)
throws XDocConverterException
- Specified by:
convert2FO
in interface IXSLFOConverter
- Throws:
XDocConverterException
convert2FO
public void convert2FO(IEntryInputStreamProvider inProvider,
Result result,
Options options)
throws XDocConverterException
- Throws:
XDocConverterException
convert
public void convert(InputStream in,
OutputStream out,
Options options)
throws XDocConverterException
- Description copied from interface:
IConverter
- Convert the given entry input stream document zipped (odt, docx...) to another format.
- Specified by:
convert
in interface IConverter
- Overrides:
convert
in class AbstractConverterEntriesSupport
- Throws:
XDocConverterException
convert2FO
public void convert2FO(InputStream in,
OutputStream out,
Options options)
throws XDocConverterException
- Throws:
XDocConverterException
convert2FO
public void convert2FO(InputStream in,
Result result,
Options options)
throws XDocConverterException
- Throws:
XDocConverterException
getXSLTemplateURI
protected String getXSLTemplateURI()
- Specified by:
getXSLTemplateURI
in class AbstractXSLTConverter
getXSLTStream
protected InputStream getXSLTStream()
- Specified by:
getXSLTStream
in class AbstractXSLTConverter
getXSLTURIResolver
protected URIResolver getXSLTURIResolver()
- Specified by:
getXSLTURIResolver
in class AbstractXSLTConverter
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
- Returns:
getXSLFOTemplateURI
protected abstract String getXSLFOTemplateURI()
getXSLFOStream
protected abstract InputStream getXSLFOStream()
getXSLFOURIResolver
protected abstract URIResolver getXSLFOURIResolver()
Copyright © 2013. All rights reserved.