public class GeonamesServiceDriver extends AbstractGazetteerServiceDriver
Constructor and Description |
---|
GeonamesServiceDriver() |
Modifier and Type | Method and Description |
---|---|
DiscoveryServiceCapabilities |
getCapabilities(java.net.URI uri)
It try to discover the server capabilities.
|
Feature[] |
getFeature(java.net.URI uri,
GazetteerQuery query)
It returns the foubd records
|
ServerData |
getOneServer() |
java.lang.String |
getServiceName() |
boolean |
needsUsername(java.lang.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(java.net.URI uri, GazetteerQuery query) throws java.lang.Exception
IGazetteerServiceDriver
uri
- Server URIquery
- Query with the search parametersjava.lang.Exception
public DiscoveryServiceCapabilities getCapabilities(java.net.URI uri) throws NotSupportedVersionException
IDiscoveryServiceDriver
uri
- Server URINotSupportedVersionException
public java.lang.String getServiceName()
public ServerData getOneServer()
getOneServer
in interface IDiscoveryServiceDriver
getOneServer
in class AbstractDiscoveryServiceDriver
public boolean needsUsername(java.lang.String protocol)
IGazetteerServiceDriver
needsUsername
in interface IGazetteerServiceDriver
needsUsername
in class AbstractGazetteerServiceDriver