public abstract class AbstractExporttoProviderFactory extends java.lang.Object implements ExporttoSwingProviderFactory
ExporttoSwingProviderFactory implementation
classes.| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
PARAMETER_FEATURESTORE |
protected static java.lang.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. |
java.lang.String |
getDescription()
Returns a description of the provider.
|
java.lang.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.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, getNameprotected static final java.lang.String PARAMETER_FEATURESTORE
protected static final java.lang.String PARAMETER_PROJECTION
protected DynClass parametersDefinition
protected int[] providerTypes
public AbstractExporttoProviderFactory(int[] providerTypes)
providerTypes - supported provider typespublic DynObject createParameters()
ProviderFactoryProvider created by this factory.createParameters in interface ProviderFactorypublic void initialize()
ProviderFactoryinitialize in interface ProviderFactorypublic boolean support(int providerType)
throws ServiceException
ExporttoSwingProviderFactorysupport in interface ExporttoSwingProviderFactoryproviderType - the provider type. One of the constants defined in the
ExporttoSwingManager.ServiceExceptionpublic java.lang.String getDescription()
ExporttoSwingProviderFactorygetDescription in interface ExporttoSwingProviderFactorypublic java.lang.String getLabel()
ExporttoSwingProviderFactorygetLabel in interface ExporttoSwingProviderFactorypublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEnabled()
ExporttoSwingProviderFactoryisEnabled in interface ExporttoSwingProviderFactorypublic void setEnabled(boolean value)
ExporttoSwingProviderFactorysetEnabled in interface ExporttoSwingProviderFactoryvalue - if to enable or disable the factory