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 . |
String |
getDescription()
Returns a description of the provider.
|
String |
getLabel()
Returns a label or short description for the provider.
|
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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isEnabled, setEnabled
createParameters, initialize
public ExporttoGenericProviderFactory()
public Provider create(DynObject parameters, ProviderServices services) throws ServiceException
ProviderFactory
Provider
.create
in interface ProviderFactory
parameters
- for the Provider
services
- to be used by the Provider
Provider
ServiceException
- if the parameters are not valid or there is an error creating
the Provider
public String getName()
ProviderFactory
getName
in interface ProviderFactory
public boolean support(int providerType) throws ServiceException
ExporttoSwingProviderFactory
support
in interface ExporttoSwingProviderFactory
support
in class AbstractExporttoProviderFactory
providerType
- the provider type. One of the constants defined in the
ExporttoSwingManager
.ServiceException
public String getDescription()
ExporttoSwingProviderFactory
getDescription
in interface ExporttoSwingProviderFactory
getDescription
in class AbstractExporttoProviderFactory
public String getLabel()
ExporttoSwingProviderFactory
getLabel
in interface ExporttoSwingProviderFactory
getLabel
in class AbstractExporttoProviderFactory