org.odftoolkit.odfdom.converter.core
Class AbstractODFConverter<T extends Options>

java.lang.Object
  extended by org.odftoolkit.odfdom.converter.core.AbstractODFConverter<T>
All Implemented Interfaces:
IODFConverter<T>
Direct Known Subclasses:
AbstractODFElementVisitorConverter, PdfConverter, XHTMLConverter

public abstract class AbstractODFConverter<T extends Options>
extends Object
implements IODFConverter<T>


Constructor Summary
AbstractODFConverter()
           
 
Method Summary
 void convert(org.odftoolkit.odfdom.doc.OdfDocument odfDocument, OutputStream out, T options)
           
 void convert(org.odftoolkit.odfdom.doc.OdfDocument odfDocument, Writer writer, T options)
           
protected abstract  void doConvert(org.odftoolkit.odfdom.doc.OdfDocument odfDocument, OutputStream out, Writer writer, T options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractODFConverter

public AbstractODFConverter()
Method Detail

convert

public void convert(org.odftoolkit.odfdom.doc.OdfDocument odfDocument,
                    OutputStream out,
                    T options)
             throws ODFConverterException,
                    IOException
Specified by:
convert in interface IODFConverter<T extends Options>
Throws:
ODFConverterException
IOException

convert

public void convert(org.odftoolkit.odfdom.doc.OdfDocument odfDocument,
                    Writer writer,
                    T options)
             throws ODFConverterException,
                    IOException
Specified by:
convert in interface IODFConverter<T extends Options>
Throws:
ODFConverterException
IOException

doConvert

protected abstract void doConvert(org.odftoolkit.odfdom.doc.OdfDocument odfDocument,
                                  OutputStream out,
                                  Writer writer,
                                  T options)
                           throws ODFConverterException,
                                  IOException
Throws:
ODFConverterException
IOException


Copyright © 2013. All rights reserved.