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