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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFeature
getAditionalSearchPanel, getCapabilities, getDefaultPort, getDefaultSchema, getOneServer, getServerAnswerReady, getServiceName, isProtocolSupported, setServerAnswerReady, toString
public FeatureType[] getFeatureTypes()
public void setFeatureTypes(FeatureType[] featureTypes)
feature
- The feature to set.public DiscoveryServiceQuery createQuery()
IDiscoveryServiceDriver
createQuery
in interface IDiscoveryServiceDriver
public GazetteerQuery getQuery()
public void setQuery(GazetteerQuery query)
query
- The query to set.public FeatureTypeAttribute[] describeFeatureType(URI uri, String feature)
IGazetteerServiceDriver
describeFeatureType
in interface IGazetteerServiceDriver
uri
- Server URIpublic boolean isDescribeFeatureTypeNeeded()
IGazetteerServiceDriver
isDescribeFeatureTypeNeeded
in interface IGazetteerServiceDriver
public String getProjection()
getProjection
in interface IGazetteerServiceDriver
public void setProjection(String projection)
setProjection
in interface IGazetteerServiceDriver
projection
- the projection to setpublic boolean needsUsername(String protocol)
IGazetteerServiceDriver
needsUsername
in interface IGazetteerServiceDriver
public String getUsername()
IGazetteerServiceDriver
getUsername
in interface IGazetteerServiceDriver
public void setUsername(String username)
IGazetteerServiceDriver
setUsername
in interface IGazetteerServiceDriver