fr.opensagres.xdocreport.document.ods.discovery
Class ODSReportFactoryDiscovery

java.lang.Object
  extended by fr.opensagres.xdocreport.document.discovery.AbstractXDocReportFactoryDiscovery
      extended by fr.opensagres.xdocreport.document.ods.discovery.ODSReportFactoryDiscovery
All Implemented Interfaces:
IBaseDiscovery, IXDocReportFactoryDiscovery, ODSConstants

public class ODSReportFactoryDiscovery
extends AbstractXDocReportFactoryDiscovery
implements IXDocReportFactoryDiscovery, ODSConstants

Open Office ODS discovery used by the XDocReportRegistry.loadReport(java.io.InputStream) to create an instance of ODSReport if input stream to load is an ODS.


Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.document.ods.ODSConstants
CONTENT_XML_ENTRY, DESCRIPTION_DISCOVERY, ID_DISCOVERY, MIME_MAPPING, MIMETYPE, ODS_EXTENSION, ODS_MIMETYPE, STYLES_XML_ENTRY
 
Constructor Summary
ODSReportFactoryDiscovery()
           
 
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

ODSReportFactoryDiscovery

public ODSReportFactoryDiscovery()
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.