org.gvsig.fmap.dal
Interface DataStoreProviderFactory

All Superinterfaces:
ExtensionSingleton, ProviderFactory
All Known Subinterfaces:
FeatureStoreProviderFactory

public interface DataStoreProviderFactory
extends ProviderFactory


Field Summary
static int NO
           
static int UNKNOWN
           
static int YES
           
 
Method Summary
 int allowCreate()
          The provider can create new stores.
 int allowRead()
          The provider has read support
 int allowWrite()
          The provider has write support
 DataStoreProvider createProvider(DataParameters parameters, org.gvsig.fmap.dal.spi.DataStoreProviderServices providerServices)
          Builds a specific provider
 String getDescription()
          Return a short descripion about the provider
 String getName()
          Returns the name of the provider
 int hasRasterSupport()
          The provider has raster support.
 int hasTabularSupport()
          The provider has tabular support.
 int hasVectorialSupport()
          The provider has vectorial support.
 
Methods inherited from interface org.gvsig.tools.service.spi.ProviderFactory
create, createParameters, initialize
 

Field Detail

UNKNOWN

static final int UNKNOWN
See Also:
Constant Field Values

YES

static final int YES
See Also:
Constant Field Values

NO

static final int NO
See Also:
Constant Field Values
Method Detail

getName

String getName()
Returns the name of the provider

Specified by:
getName in interface ProviderFactory
Returns:
name of the provider

getDescription

String getDescription()
Return a short descripion about the provider

Returns:
description about the provider

allowRead

int allowRead()
The provider has read support

Returns:
YES if has read support

allowWrite

int allowWrite()
The provider has write support

Returns:
YES if has write support

allowCreate

int allowCreate()
The provider can create new stores.

Returns:
YES if has creation support

hasTabularSupport

int hasTabularSupport()
The provider has tabular support. This support is the minimum requisite for a FeatureStore.

Returns:
YES if has write support

hasVectorialSupport

int hasVectorialSupport()
The provider has vectorial support.

Returns:
YES if has vectorial support

hasRasterSupport

int hasRasterSupport()
The provider has raster support.

Returns:
YES if has raster support

createProvider

DataStoreProvider createProvider(DataParameters parameters,
                                 org.gvsig.fmap.dal.spi.DataStoreProviderServices providerServices)
                                 throws InitializeException
Builds a specific provider

Returns:
the provider
Throws:
InitializeException


Copyright © 2004-2012 gvSIG. All Rights Reserved.