org.gvsig.fmap.dal.serverexplorer.wfs
Class WFSServerExplorer
java.lang.Object
org.gvsig.tools.dispose.impl.AbstractDisposable
org.gvsig.fmap.dal.serverexplorer.wfs.WFSServerExplorer
- All Implemented Interfaces:
- org.gvsig.fmap.dal.DataServerExplorer, org.gvsig.fmap.dal.spi.DataServerExplorerProvider, org.gvsig.tools.dispose.Disposable
public class WFSServerExplorer
- extends org.gvsig.tools.dispose.impl.AbstractDisposable
- implements org.gvsig.fmap.dal.spi.DataServerExplorerProvider
- Author:
- Jorge Piera
|
Field Summary |
static java.lang.String |
NAME
|
| Fields inherited from interface org.gvsig.fmap.dal.DataServerExplorer |
MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER |
|
Method Summary |
boolean |
add(java.lang.String providerName,
org.gvsig.fmap.dal.NewDataStoreParameters parameters,
boolean overwrite)
|
boolean |
canAdd()
|
boolean |
canAdd(java.lang.String storeName)
|
protected void |
doDispose()
|
java.lang.String |
getAbstract()
|
org.gvsig.fmap.dal.NewDataStoreParameters |
getAddParameters(java.lang.String storeName)
|
java.util.List |
getDataStoreProviderNames()
|
org.gvsig.remoteclient.wfs.WFSFeature |
getFeatureInfo(java.lang.String nameSpace,
java.lang.String layerName)
Returns all the feature information retrieved using a
describeFeatureTypeOpearion |
java.util.Hashtable |
getFeatures()
Returns an array of WFSLayerNode's with the descriptors of
all features (retrieved using the getCapabilities operation) |
int |
getMaxFeatures()
|
org.gvsig.fmap.dal.DataServerExplorerParameters |
getParameters()
|
org.gvsig.fmap.dal.DataStoreParameters |
getParametersFor(org.gvsig.remoteclient.wfs.WFSFeature feature)
|
java.lang.String |
getProviderName()
|
org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices |
getServerExplorerProviderServices()
|
java.lang.String |
getServerType()
|
int |
getTimeOut()
|
java.lang.String |
getTitle()
|
java.lang.String |
getUrl()
|
java.lang.String |
getVersion()
|
void |
initialize(org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices dataServerExplorerProviderServices)
|
java.util.List |
list()
|
java.util.List |
list(int mode)
|
void |
remove(org.gvsig.fmap.dal.DataStoreParameters parameters)
|
void |
setMaxFeatures(int buffer)
|
void |
setTimeOut(int timeout)
|
void |
setUserName(java.lang.String userName)
|
| Methods inherited from class org.gvsig.tools.dispose.impl.AbstractDisposable |
dispose, dispose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gvsig.tools.dispose.Disposable |
dispose |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
WFSServerExplorer
public WFSServerExplorer(WFSServerExplorerParameters parameters,
org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices services)
throws org.gvsig.fmap.dal.exception.InitializeException
- Parameters:
parameters -
- Throws:
org.gvsig.fmap.dal.exception.InitializeException
add
public boolean add(java.lang.String providerName,
org.gvsig.fmap.dal.NewDataStoreParameters parameters,
boolean overwrite)
throws org.gvsig.fmap.dal.exception.DataException
- Specified by:
add in interface org.gvsig.fmap.dal.DataServerExplorer
- Throws:
org.gvsig.fmap.dal.exception.DataException
canAdd
public boolean canAdd()
- Specified by:
canAdd in interface org.gvsig.fmap.dal.DataServerExplorer
canAdd
public boolean canAdd(java.lang.String storeName)
throws org.gvsig.fmap.dal.exception.DataException
- Specified by:
canAdd in interface org.gvsig.fmap.dal.DataServerExplorer
- Throws:
org.gvsig.fmap.dal.exception.DataException
doDispose
protected void doDispose()
throws org.gvsig.tools.exception.BaseException
- Specified by:
doDispose in class org.gvsig.tools.dispose.impl.AbstractDisposable
- Throws:
org.gvsig.tools.exception.BaseException
getAbstract
public java.lang.String getAbstract()
- Returns:
getAddParameters
public org.gvsig.fmap.dal.NewDataStoreParameters getAddParameters(java.lang.String storeName)
throws org.gvsig.fmap.dal.exception.DataException
- Specified by:
getAddParameters in interface org.gvsig.fmap.dal.DataServerExplorer
- Throws:
org.gvsig.fmap.dal.exception.DataException
getDataStoreProviderNames
public java.util.List getDataStoreProviderNames()
- Specified by:
getDataStoreProviderNames in interface org.gvsig.fmap.dal.DataServerExplorer
getFeatureInfo
public org.gvsig.remoteclient.wfs.WFSFeature getFeatureInfo(java.lang.String nameSpace,
java.lang.String layerName)
throws org.gvsig.remoteclient.wfs.exceptions.WFSException
- Returns all the feature information retrieved using a
describeFeatureTypeOpearion
- Parameters:
layerName - Feature name
- Returns:
-
- Throws:
org.gvsig.remoteclient.wfs.exceptions.WFSException
getFeatures
public java.util.Hashtable getFeatures()
- Returns an array of WFSLayerNode's with the descriptors of
all features (retrieved using the getCapabilities operation)
- Returns:
- WFSLayerNode[]
getMaxFeatures
public int getMaxFeatures()
- Returns:
getParameters
public org.gvsig.fmap.dal.DataServerExplorerParameters getParameters()
- Specified by:
getParameters in interface org.gvsig.fmap.dal.DataServerExplorer
getParametersFor
public org.gvsig.fmap.dal.DataStoreParameters getParametersFor(org.gvsig.remoteclient.wfs.WFSFeature feature)
throws org.gvsig.fmap.dal.exception.DataException
- Throws:
org.gvsig.fmap.dal.exception.DataException
getProviderName
public java.lang.String getProviderName()
- Specified by:
getProviderName in interface org.gvsig.fmap.dal.DataServerExplorer
getServerExplorerProviderServices
public org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices getServerExplorerProviderServices()
- Specified by:
getServerExplorerProviderServices in interface org.gvsig.fmap.dal.spi.DataServerExplorerProvider
getServerType
public java.lang.String getServerType()
- Returns:
getTimeOut
public int getTimeOut()
- Returns:
getTitle
public java.lang.String getTitle()
- Returns:
getUrl
public java.lang.String getUrl()
- Returns:
getVersion
public java.lang.String getVersion()
- Returns:
initialize
public void initialize(org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices dataServerExplorerProviderServices)
list
public java.util.List list()
throws org.gvsig.fmap.dal.exception.DataException
- Specified by:
list in interface org.gvsig.fmap.dal.DataServerExplorer
- Throws:
org.gvsig.fmap.dal.exception.DataException
list
public java.util.List list(int mode)
throws org.gvsig.fmap.dal.exception.DataException
- Specified by:
list in interface org.gvsig.fmap.dal.DataServerExplorer
- Throws:
org.gvsig.fmap.dal.exception.DataException
remove
public void remove(org.gvsig.fmap.dal.DataStoreParameters parameters)
throws org.gvsig.fmap.dal.exception.DataException
- Specified by:
remove in interface org.gvsig.fmap.dal.DataServerExplorer
- Throws:
org.gvsig.fmap.dal.exception.DataException
setMaxFeatures
public void setMaxFeatures(int buffer)
- Parameters:
buffer -
setTimeOut
public void setTimeOut(int timeout)
- Parameters:
timeout -
setUserName
public void setUserName(java.lang.String userName)
- Parameters:
userName -
Copyright © 2014 gvSIG Association. All Rights Reserved.