Class GeonamesServiceDriver

java.lang.Object
org.gvsig.catalog.drivers.AbstractDiscoveryServiceDriver
org.gvsig.gazetteer.drivers.AbstractGazetteerServiceDriver
org.gvsig.gazetteer.geonames.GeonamesServiceDriver
All Implemented Interfaces:
org.gvsig.catalog.drivers.IDiscoveryServiceDriver, IGazetteerServiceDriver

public class GeonamesServiceDriver extends AbstractGazetteerServiceDriver
  • Constructor Details

    • GeonamesServiceDriver

      public GeonamesServiceDriver()
  • Method Details

    • getFeature

      public Feature[] getFeature(URI uri, GazetteerQuery query) throws Exception
      Description copied from interface: IGazetteerServiceDriver
      It returns the foubd records
      Parameters:
      uri - Server URI
      query - Query with the search parameters
      Returns:
      The features
      Throws:
      Exception
    • getCapabilities

      public org.gvsig.catalog.drivers.DiscoveryServiceCapabilities getCapabilities(URI uri) throws org.gvsig.catalog.exceptions.NotSupportedVersionException
      Throws:
      org.gvsig.catalog.exceptions.NotSupportedVersionException
    • getServiceName

      public String getServiceName()
    • getOneServer

      public org.gvsig.utils.swing.jcomboServer.ServerData getOneServer()
      Specified by:
      getOneServer in interface org.gvsig.catalog.drivers.IDiscoveryServiceDriver
      Overrides:
      getOneServer in class org.gvsig.catalog.drivers.AbstractDiscoveryServiceDriver
    • needsUsername

      public boolean needsUsername(String protocol)
      Description copied from interface: IGazetteerServiceDriver
      Indicates if the protocol requires a username
      Specified by:
      needsUsername in interface IGazetteerServiceDriver
      Overrides:
      needsUsername in class AbstractGazetteerServiceDriver
      Parameters:
      protocol -
      Returns: