public class GeonamesServiceDriver extends AbstractGazetteerServiceDriver
Constructor and Description |
---|
GeonamesServiceDriver() |
Modifier and Type | Method and Description |
---|---|
DiscoveryServiceCapabilities |
getCapabilities(URI uri)
It try to discover the server capabilities.
|
Feature[] |
getFeature(URI uri,
GazetteerQuery query)
It returns the foubd records
|
ServerData |
getOneServer() |
String |
getServiceName() |
boolean |
needsUsername(String protocol)
Indicates if the protocol requires a username
|
createQuery, describeFeatureType, getFeatureTypes, getProjection, getQuery, getUsername, isDescribeFeatureTypeNeeded, setFeatureTypes, setProjection, setQuery, setUsername
getAditionalSearchPanel, getDefaultPort, getDefaultSchema, getServerAnswerReady, isProtocolSupported, setServerAnswerReady, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAditionalSearchPanel, getDefaultPort, getDefaultSchema, getServerAnswerReady, isProtocolSupported, setServerAnswerReady, toString
public Feature[] getFeature(URI uri, GazetteerQuery query) throws Exception
IGazetteerServiceDriver
uri
- Server URIquery
- Query with the search parametersException
public DiscoveryServiceCapabilities getCapabilities(URI uri) throws NotSupportedVersionException
IDiscoveryServiceDriver
uri
- Server URINotSupportedVersionException
public String getServiceName()
public ServerData getOneServer()
getOneServer
in interface IDiscoveryServiceDriver
getOneServer
in class AbstractDiscoveryServiceDriver
public boolean needsUsername(String protocol)
IGazetteerServiceDriver
needsUsername
in interface IGazetteerServiceDriver
needsUsername
in class AbstractGazetteerServiceDriver