public class ExporttoGenericProviderFactory extends AbstractExporttoProviderFactory implements ExporttoSwingProviderFactory
ExportoProvider objects.
This factory add support for any DAL provider in a generic way.PARAMETER_FEATURESTORE, PARAMETER_PROJECTION, parametersDefinition, providerTypes| Constructor and Description |
|---|
ExporttoGenericProviderFactory()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Provider |
create(DynObject parameters,
ProviderServices services)
Creates a new
Provider. |
java.lang.String |
getDescription()
Returns a description of the provider.
|
java.lang.String |
getLabel()
Returns a label or short description for the provider.
|
java.lang.String |
getName()
Returns the name of the providers created by this factory.
|
boolean |
support(int providerType)
Return if a provider supports a data type.
|
createParameters, initialize, isEnabled, setEnabled, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEnabled, setEnabledcreateParameters, initializepublic ExporttoGenericProviderFactory()
public Provider create(DynObject parameters, ProviderServices services) throws ServiceException
ProviderFactoryProvider.create in interface ProviderFactoryparameters - for the Providerservices - to be used by the ProviderProviderServiceException - if the parameters are not valid or there is an error creating
the Providerpublic java.lang.String getName()
ProviderFactorygetName in interface ProviderFactorypublic boolean support(int providerType)
throws ServiceException
ExporttoSwingProviderFactorysupport in interface ExporttoSwingProviderFactorysupport in class AbstractExporttoProviderFactoryproviderType - the provider type. One of the constants defined in the
ExporttoSwingManager.ServiceExceptionpublic java.lang.String getDescription()
ExporttoSwingProviderFactorygetDescription in interface ExporttoSwingProviderFactorygetDescription in class AbstractExporttoProviderFactorypublic java.lang.String getLabel()
ExporttoSwingProviderFactorygetLabel in interface ExporttoSwingProviderFactorygetLabel in class AbstractExporttoProviderFactory