public abstract class AbstractGazetteerServiceDriver extends AbstractDiscoveryServiceDriver implements IGazetteerServiceDriver
| Constructor and Description |
|---|
AbstractGazetteerServiceDriver() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryServiceQuery |
createQuery()
Create and return an empty query
|
FeatureTypeAttribute[] |
describeFeatureType(URI uri,
String feature)
It returns feature properties
|
FeatureType[] |
getFeatureTypes() |
String |
getProjection() |
GazetteerQuery |
getQuery() |
String |
getUsername()
Returns username for protocol
|
boolean |
isDescribeFeatureTypeNeeded()
There are protocols that need to invoke the describeFeatureType
operation before to do a getFeature.
|
boolean |
needsUsername(String protocol)
Indicates if the protocol requires a username
|
void |
setFeatureTypes(FeatureType[] featureTypes) |
void |
setProjection(String projection) |
void |
setQuery(GazetteerQuery query) |
void |
setUsername(String username)
Saves username for protocol
|
getAditionalSearchPanel, getDefaultPort, getDefaultSchema, getOneServer, getServerAnswerReady, isProtocolSupported, setServerAnswerReady, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFeaturegetAditionalSearchPanel, getCapabilities, getDefaultPort, getDefaultSchema, getOneServer, getServerAnswerReady, getServiceName, isProtocolSupported, setServerAnswerReady, toStringpublic FeatureType[] getFeatureTypes()
public void setFeatureTypes(FeatureType[] featureTypes)
feature - The feature to set.public DiscoveryServiceQuery createQuery()
IDiscoveryServiceDrivercreateQuery in interface IDiscoveryServiceDriverpublic GazetteerQuery getQuery()
public void setQuery(GazetteerQuery query)
query - The query to set.public FeatureTypeAttribute[] describeFeatureType(URI uri, String feature)
IGazetteerServiceDriverdescribeFeatureType in interface IGazetteerServiceDriveruri - Server URIpublic boolean isDescribeFeatureTypeNeeded()
IGazetteerServiceDriverisDescribeFeatureTypeNeeded in interface IGazetteerServiceDriverpublic String getProjection()
getProjection in interface IGazetteerServiceDriverpublic void setProjection(String projection)
setProjection in interface IGazetteerServiceDriverprojection - the projection to setpublic boolean needsUsername(String protocol)
IGazetteerServiceDriverneedsUsername in interface IGazetteerServiceDriverpublic String getUsername()
IGazetteerServiceDrivergetUsername in interface IGazetteerServiceDriverpublic void setUsername(String username)
IGazetteerServiceDriversetUsername in interface IGazetteerServiceDriver