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(java.net.URI uri,
java.lang.String feature)
It returns feature properties
|
FeatureType[] |
getFeatureTypes() |
java.lang.String |
getProjection() |
GazetteerQuery |
getQuery() |
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 |
setFeatureTypes(FeatureType[] featureTypes) |
void |
setProjection(java.lang.String projection) |
void |
setQuery(GazetteerQuery query) |
void |
setUsername(java.lang.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(java.net.URI uri, java.lang.String feature)
IGazetteerServiceDriver
describeFeatureType
in interface IGazetteerServiceDriver
uri
- Server URIpublic boolean isDescribeFeatureTypeNeeded()
IGazetteerServiceDriver
isDescribeFeatureTypeNeeded
in interface IGazetteerServiceDriver
public java.lang.String getProjection()
getProjection
in interface IGazetteerServiceDriver
public void setProjection(java.lang.String projection)
setProjection
in interface IGazetteerServiceDriver
projection
- the projection to setpublic boolean needsUsername(java.lang.String protocol)
IGazetteerServiceDriver
needsUsername
in interface IGazetteerServiceDriver
public java.lang.String getUsername()
IGazetteerServiceDriver
getUsername
in interface IGazetteerServiceDriver
public void setUsername(java.lang.String username)
IGazetteerServiceDriver
setUsername
in interface IGazetteerServiceDriver