Class WFSServerExplorer

java.lang.Object
org.gvsig.tools.dispose.impl.AbstractDisposable
org.gvsig.fmap.dal.spi.AbstractDataServerExplorer
org.gvsig.fmap.dal.serverexplorer.wfs.WFSServerExplorer
All Implemented Interfaces:
org.gvsig.fmap.dal.DataFactoryUnit, org.gvsig.fmap.dal.DataServerExplorer, org.gvsig.fmap.dal.DataServerExplorer_v2, org.gvsig.fmap.dal.spi.DataServerExplorerProvider, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.util.PropertiesSupport

public class WFSServerExplorer extends org.gvsig.fmap.dal.spi.AbstractDataServerExplorer implements org.gvsig.fmap.dal.spi.DataServerExplorerProvider
Author:
Jorge Piera
  • Field Details

  • Constructor Details

    • 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
  • Method Details

    • getFeatureInfo

      public WFSFeature getFeatureInfo(String nameSpace, String layerName) throws WFSException
      Returns all the feature information retrieved using a describeFeatureTypeOpearion
      Parameters:
      nameSpace -
      layerName - Feature name
      Returns:
      Throws:
      WFSException
    • getFeatures

      public Hashtable getFeatures()
      Returns an array of WFSLayerNode's with the descriptors of all features (retrieved using the getCapabilities operation)
      Returns:
      WFSLayerNode[]
    • add

      public boolean add(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(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
      Overrides:
      doDispose in class org.gvsig.fmap.dal.spi.AbstractDataServerExplorer
      Throws:
      org.gvsig.tools.exception.BaseException
    • getAddParameters

      public org.gvsig.fmap.dal.NewDataStoreParameters getAddParameters(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
    • getProviderName

      public String getProviderName()
      Specified by:
      getProviderName in interface org.gvsig.fmap.dal.DataServerExplorer
    • getParameters

      public WFSServerExplorerParameters getParameters()
      Specified by:
      getParameters in interface org.gvsig.fmap.dal.DataServerExplorer
      Overrides:
      getParameters in class org.gvsig.fmap.dal.spi.AbstractDataServerExplorer
    • list

      public 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
    • getParametersFor

      public org.gvsig.fmap.dal.DataStoreParameters getParametersFor(WFSFeature feature) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • list

      public 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
    • getServerExplorerProviderServices

      public org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices getServerExplorerProviderServices()
      Specified by:
      getServerExplorerProviderServices in interface org.gvsig.fmap.dal.spi.DataServerExplorerProvider
      Overrides:
      getServerExplorerProviderServices in class org.gvsig.fmap.dal.spi.AbstractDataServerExplorer
    • initialize

      public void initialize(org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices dataServerExplorerProviderServices)
    • getTitle

      public String getTitle()
      Returns:
    • getAbstract

      public String getAbstract()
      Returns:
    • getServerType

      public String getServerType()
      Returns:
    • getUrl

      public String getUrl()
      Returns:
    • getMaxFeatures

      public int getMaxFeatures()
      Returns:
    • getTimeOut

      public int getTimeOut()
      Returns:
    • setUserName

      public void setUserName(String userName)
      Parameters:
      userName -
    • setMaxFeatures

      public void setMaxFeatures(int buffer)
      Parameters:
      buffer -
    • setTimeOut

      public void setTimeOut(int timeout)
      Parameters:
      timeout -
    • getVersion

      public String getVersion()
      Returns:
    • getDataStoreProviderNames

      public List getDataStoreProviderNames()
      Specified by:
      getDataStoreProviderNames in interface org.gvsig.fmap.dal.DataServerExplorer