public abstract class AbstractExporttoProviderFactory extends Object implements ExporttoSwingProviderFactory
ExporttoSwingProviderFactory
implementation
classes.Modifier and Type | Field and Description |
---|---|
protected static String |
PARAMETER_FEATURESTORE |
protected static String |
PARAMETER_PROJECTION |
protected DynClass |
parametersDefinition |
protected int[] |
providerTypes |
Constructor and Description |
---|
AbstractExporttoProviderFactory(int[] providerTypes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DynObject |
createParameters()
Creates the parameters for the
Provider created by this factory. |
String |
getDescription()
Returns a description of the provider.
|
String |
getLabel()
Returns a label or short description for the provider.
|
void |
initialize()
Initialices the factory.
|
boolean |
isEnabled()
If the provider this factory creates is enabled.
|
void |
setEnabled(boolean value)
Enable or disable this provider factory.
|
boolean |
support(int providerType)
Return if a provider supports a data type.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, getName
protected static final String PARAMETER_FEATURESTORE
protected static final String PARAMETER_PROJECTION
protected DynClass parametersDefinition
protected int[] providerTypes
public AbstractExporttoProviderFactory(int[] providerTypes)
providerTypes
- supported provider typespublic DynObject createParameters()
ProviderFactory
Provider
created by this factory.createParameters
in interface ProviderFactory
public void initialize()
ProviderFactory
initialize
in interface ProviderFactory
public boolean support(int providerType) throws ServiceException
ExporttoSwingProviderFactory
support
in interface ExporttoSwingProviderFactory
providerType
- the provider type. One of the constants defined in the
ExporttoSwingManager
.ServiceException
public String getDescription()
ExporttoSwingProviderFactory
getDescription
in interface ExporttoSwingProviderFactory
public String getLabel()
ExporttoSwingProviderFactory
getLabel
in interface ExporttoSwingProviderFactory
public boolean isEnabled()
ExporttoSwingProviderFactory
isEnabled
in interface ExporttoSwingProviderFactory
public void setEnabled(boolean value)
ExporttoSwingProviderFactory
setEnabled
in interface ExporttoSwingProviderFactory
value
- if to enable or disable the factory