Package org.gvsig.gazetteer.geonames
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.catalog.drivers.DiscoveryServiceCapabilitiesgetCapabilities(URI uri) Feature[]getFeature(URI uri, GazetteerQuery query) It returns the foubd recordsorg.gvsig.utils.swing.jcomboServer.ServerDatabooleanneedsUsername(String protocol) Indicates if the protocol requires a usernameMethods inherited from class org.gvsig.gazetteer.drivers.AbstractGazetteerServiceDriver
createQuery, describeFeatureType, getFeatureTypes, getProjection, getQuery, getUsername, isDescribeFeatureTypeNeeded, setFeatureTypes, setProjection, setQuery, setUsernameMethods inherited from class org.gvsig.catalog.drivers.AbstractDiscoveryServiceDriver
getAditionalSearchPanel, getDefaultPort, getDefaultSchema, getServerAnswerReady, isProtocolSupported, setServerAnswerReady, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.catalog.drivers.IDiscoveryServiceDriver
getAditionalSearchPanel, getDefaultPort, getDefaultSchema, getServerAnswerReady, isProtocolSupported, setServerAnswerReady, toString
-
Constructor Details
-
GeonamesServiceDriver
public GeonamesServiceDriver()
-
-
Method Details
-
getFeature
Description copied from interface:IGazetteerServiceDriverIt returns the foubd records- Parameters:
uri- Server URIquery- 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
-
getOneServer
public org.gvsig.utils.swing.jcomboServer.ServerData getOneServer()- Specified by:
getOneServerin interfaceorg.gvsig.catalog.drivers.IDiscoveryServiceDriver- Overrides:
getOneServerin classorg.gvsig.catalog.drivers.AbstractDiscoveryServiceDriver
-
needsUsername
Description copied from interface:IGazetteerServiceDriverIndicates if the protocol requires a username- Specified by:
needsUsernamein interfaceIGazetteerServiceDriver- Overrides:
needsUsernamein classAbstractGazetteerServiceDriver- Parameters:
protocol-- Returns:
-