fr.opensagres.xdocreport.document.odt.discovery
Class ODTReportFactoryDiscovery

java.lang.Object
  extended by fr.opensagres.xdocreport.document.discovery.AbstractXDocReportFactoryDiscovery
      extended by fr.opensagres.xdocreport.document.odt.discovery.ODTReportFactoryDiscovery
All Implemented Interfaces:
IBaseDiscovery, IXDocReportFactoryDiscovery

public class ODTReportFactoryDiscovery
extends AbstractXDocReportFactoryDiscovery
implements IXDocReportFactoryDiscovery

ODT discovery used by the XDocReportRegistry.loadReport(java.io.InputStream) to create an instance of ODTReport if input stream to load is an ODT.


Constructor Summary
ODTReportFactoryDiscovery()
           
 
Method Summary
 IXDocReport createReport()
           
 String getDescription()
           
 String getId()
           
 MimeMapping getMimeMapping()
           
 Class<?> getReportClass()
           
 boolean isAdaptFor(XDocArchive archive)
           
 
Methods inherited from class fr.opensagres.xdocreport.document.discovery.AbstractXDocReportFactoryDiscovery
isAdaptFor
 
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.document.discovery.IXDocReportFactoryDiscovery
isAdaptFor
 

Constructor Detail

ODTReportFactoryDiscovery

public ODTReportFactoryDiscovery()
Method Detail

isAdaptFor

public boolean isAdaptFor(XDocArchive archive)
Specified by:
isAdaptFor in interface IXDocReportFactoryDiscovery

createReport

public IXDocReport createReport()
Specified by:
createReport in interface IXDocReportFactoryDiscovery

getMimeMapping

public MimeMapping getMimeMapping()
Specified by:
getMimeMapping in interface IXDocReportFactoryDiscovery

getDescription

public String getDescription()
Specified by:
getDescription in interface IBaseDiscovery

getId

public String getId()
Specified by:
getId in interface IBaseDiscovery

getReportClass

public Class<?> getReportClass()
Specified by:
getReportClass in interface IXDocReportFactoryDiscovery


Copyright © 2012. All Rights Reserved.