public class LayerFactory extends Object
Constructor and Description |
---|
LayerFactory() |
Modifier and Type | Method and Description |
---|---|
FLayer |
createLayer(String layerName,
DataStore dataStore)
Deprecated.
to be removed in gvSIG 2.1
|
FLayer |
createLayer(String layerName,
DataStoreParameters storeParameters)
Deprecated.
to be removed in gvSIG 2.1
|
static LayerFactory |
getInstance() |
boolean |
registerLayerToUseForStore(Class storeClass,
Class layerClassToUse) |
boolean |
registerLayerToUseForStore(String dataStoreName,
Class layerClassToUse)
Registra que clase tiene que usar para un
DataStore determinado. |
public static LayerFactory getInstance()
public boolean registerLayerToUseForStore(String dataStoreName, Class layerClassToUse)
DataStore
determinado. dataStoreName
- Nombre de registro del DataStore
dentro del
DataManager
layerClassToUse
- clase que implementa SingleLayer
public boolean registerLayerToUseForStore(Class storeClass, Class layerClassToUse)
public FLayer createLayer(String layerName, DataStoreParameters storeParameters) throws LoadLayerException
LoadLayerException
MapContextManager}.
public FLayer createLayer(String layerName, DataStore dataStore) throws LoadLayerException
LoadLayerException
MapContextManager}.