fr.opensagres.xdocreport.document.tools
Class DataProviderFactoryRegistry
java.lang.Object
fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDataProviderFactory>
fr.opensagres.xdocreport.document.tools.DataProviderFactoryRegistry
public class DataProviderFactoryRegistry
- extends AbstractRegistry<IDataProviderFactory>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataProviderFactoryRegistry
public DataProviderFactoryRegistry()
getRegistry
public static DataProviderFactoryRegistry getRegistry()
registerInstance
protected boolean registerInstance(IDataProviderFactory factory)
- Description copied from class:
AbstractRegistry
- Register the instance in the registry.
- Specified by:
registerInstance
in class AbstractRegistry<IDataProviderFactory>
- Returns:
- true if instance cannot be registered and false otherwise.
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractRegistry<IDataProviderFactory>
create
public IDataProvider create(String id,
InputStream data,
InputStream properties)
throws Exception
- Throws:
Exception
generateDefaultData
public void generateDefaultData(String id,
FieldsMetadata fieldsMetadata,
OutputStream out)
throws Exception
- Throws:
Exception
getFactory
public IDataProviderFactory getFactory(String id)
Copyright © 2013. All rights reserved.