fr.opensagres.xdocreport.converter.internal.xslt
Class AbstractXSLTConverter

java.lang.Object
  extended by fr.opensagres.xdocreport.converter.internal.AbstractConverterEntriesSupport
      extended by fr.opensagres.xdocreport.converter.internal.xslt.AbstractXSLTConverter
All Implemented Interfaces:
IConverter
Direct Known Subclasses:
AbstractXHTMLConverter, AbstractXSLFOConverter

public abstract class AbstractXSLTConverter
extends AbstractConverterEntriesSupport

Abstract converter for which use XSLT.


Constructor Summary
AbstractXSLTConverter()
           
 
Method Summary
 void convert(IEntryInputStreamProvider inProvider, OutputStream out, Options options)
          Convert the given entry input stream provider document to another format.
 void convert(IEntryInputStreamProvider inProvider, Result result, Options options)
           
 void convert(InputStream in, Result result, Options options)
           
protected  XMLEntriesURIResolver createURIResolver(IEntryInputStreamProvider inProvider)
           
protected abstract  String[] getEntryNames()
           
protected abstract  String getMainEntryName()
           
protected abstract  String getXSLTemplateURI()
           
protected abstract  InputStream getXSLTStream()
           
protected abstract  URIResolver getXSLTURIResolver()
           
 
Methods inherited from class fr.opensagres.xdocreport.converter.internal.AbstractConverterEntriesSupport
canSupportEntries, convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.opensagres.xdocreport.converter.IConverter
getMimeMapping
 

Constructor Detail

AbstractXSLTConverter

public AbstractXSLTConverter()
Method Detail

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.

Throws:
XDocConverterException

convert

public void convert(IEntryInputStreamProvider inProvider,
                    Result result,
                    Options options)
             throws XDocConverterException
Throws:
XDocConverterException

convert

public void convert(InputStream in,
                    Result result,
                    Options options)
             throws XDocConverterException
Throws:
XDocConverterException

createURIResolver

protected XMLEntriesURIResolver createURIResolver(IEntryInputStreamProvider inProvider)

getXSLTemplateURI

protected abstract String getXSLTemplateURI()

getXSLTStream

protected abstract InputStream getXSLTStream()

getXSLTURIResolver

protected abstract URIResolver getXSLTURIResolver()

getMainEntryName

protected abstract String getMainEntryName()

getEntryNames

protected abstract String[] getEntryNames()


Copyright © 2013. All rights reserved.