public class DefaultNewLayerService extends Object implements NewLayerService
NewLayerService
implementation.Modifier and Type | Class and Description |
---|---|
class |
DefaultNewLayerService.CantCreateNewLayerException |
class |
DefaultNewLayerService.CantLoadNewLayerException |
class |
DefaultNewLayerService.CantOpenStoreException |
Constructor and Description |
---|
DefaultNewLayerService(NewLayerManager manager,
MapContext mapContext)
DefaultNewLayerService constructor |
Modifier and Type | Method and Description |
---|---|
void |
addLayerToView(boolean b) |
void |
createLayer() |
DataServerExplorer |
getExplorer() |
EditableFeatureType |
getFeatureType() |
MapContext |
getMapContext() |
NewFeatureStoreParameters |
getNewStoreParameters() |
DataStoreParameters |
getOpenStoreParameters() |
NewLayerProvider |
getProvider() |
List<NewLayerProviderFactory> |
getProviderFactories() |
NewLayerProviderFactory |
getProviderFactory() |
String |
getStoreName() |
String |
getType() |
List<String> |
getTypes() |
void |
loadLayer() |
void |
setProviderFactory(NewLayerProviderFactory type) |
void |
setType(String type) |
public DefaultNewLayerService(NewLayerManager manager, MapContext mapContext)
DefaultNewLayerService
constructorpublic NewLayerProvider getProvider()
getProvider
in interface NewLayerService
public void createLayer() throws NewLayerServiceException
createLayer
in interface NewLayerService
NewLayerServiceException
public void loadLayer() throws NewLayerServiceException
loadLayer
in interface NewLayerService
NewLayerServiceException
public void setType(String type)
setType
in interface NewLayerService
public DataServerExplorer getExplorer()
getExplorer
in interface NewLayerService
public String getStoreName()
getStoreName
in interface NewLayerService
public EditableFeatureType getFeatureType()
getFeatureType
in interface NewLayerService
public NewFeatureStoreParameters getNewStoreParameters()
getNewStoreParameters
in interface NewLayerService
public DataStoreParameters getOpenStoreParameters()
getOpenStoreParameters
in interface NewLayerService
public List<String> getTypes()
getTypes
in interface NewLayerService
public String getType()
getType
in interface NewLayerService
public void addLayerToView(boolean b)
addLayerToView
in interface NewLayerService
public MapContext getMapContext()
getMapContext
in interface NewLayerService
public void setProviderFactory(NewLayerProviderFactory type)
setProviderFactory
in interface NewLayerService
public NewLayerProviderFactory getProviderFactory()
getProviderFactory
in interface NewLayerService
public List<NewLayerProviderFactory> getProviderFactories()
getProviderFactories
in interface NewLayerService