public interface IGazetteerServiceDriver extends IDiscoveryServiceDriver
Modifier and Type | Method and Description |
---|---|
FeatureTypeAttribute[] |
describeFeatureType(java.net.URI uri,
java.lang.String featureType)
It returns feature properties
|
Feature[] |
getFeature(java.net.URI uri,
GazetteerQuery query)
It returns the foubd records
|
java.lang.String |
getProjection() |
java.lang.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(java.lang.String protocol)
Indicates if the protocol requires a username
|
void |
setProjection(java.lang.String projection) |
void |
setUsername(java.lang.String username)
Saves username for protocol
|
createQuery, getAditionalSearchPanel, getCapabilities, getDefaultPort, getDefaultSchema, getOneServer, getServerAnswerReady, getServiceName, isProtocolSupported, setServerAnswerReady, toString
FeatureTypeAttribute[] describeFeatureType(java.net.URI uri, java.lang.String featureType) throws java.lang.Exception
uri
- Server URIfeature
- Feature namejava.lang.Exception
boolean isDescribeFeatureTypeNeeded()
Feature[] getFeature(java.net.URI uri, GazetteerQuery query) throws java.lang.Exception
uri
- Server URIquery
- Query with the search parametersjava.lang.Exception
java.lang.String getProjection()
void setProjection(java.lang.String projection)
projection
- the projection to setboolean needsUsername(java.lang.String protocol)
protocol
- java.lang.String getUsername()
void setUsername(java.lang.String username)