Class AbstractExporter<CS extends AbstractConversionSettings,​CC extends AbstractConversionContext,​PK extends OpcPackage>

java.lang.Object
org.docx4j.convert.out.common.AbstractExporter<CS,​CC,​PK>
All Implemented Interfaces:
Exporter<CS>
Direct Known Subclasses:
AbstractWmlExporter

public abstract class AbstractExporter<CS extends AbstractConversionSettings,​CC extends AbstractConversionContext,​PK extends OpcPackage>
extends java.lang.Object
implements Exporter<CS>
Exporter are responsible to create the environment for the export process. They take care of the pre- and post processing (FORenderer). The conversion process itself is done with the …ExporterDelegate
Since:
3.0
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static org.slf4j.Logger LocalLog  
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected AbstractExporter()  
  • Method Summary

    Modifier and Type Method Description
    protected abstract CC createContext​(CS conversionSettings, PK preprocessedPackage, ConversionSectionWrappers sectionWrappers)  
    protected java.io.OutputStream createIntermediateOutputStream​(java.io.OutputStream outputStream)  
    protected abstract ConversionSectionWrappers createWrappers​(CS conversionSettings, PK preprocessedPackage)  
    void export​(CS conversionSettings, java.io.OutputStream outputStream)  
    protected long logDebugStep​(org.slf4j.Logger log, java.lang.String stepLabel, long startTime)  
    protected void postprocess​(CS conversionSettings, AbstractConversionContext conversionContext, java.io.OutputStream intermediateOutputStream, java.io.OutputStream outputStream)  
    protected abstract PK preprocess​(CS conversionSettings)  
    protected abstract void process​(CS conversionSettings, CC conversionContext, java.io.OutputStream outputStream)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait