public class WFSServiceDriver extends AbstractGazetteerServiceDriver
| Modifier and Type | Field and Description |
|---|---|
protected WFSClient |
client |
protected WFSStatus |
status |
| Constructor and Description |
|---|
WFSServiceDriver() |
| Modifier and Type | Method and Description |
|---|---|
FeatureTypeAttribute[] |
describeFeatureType(URI uri,
String feature)
It returns feature properties
|
DiscoveryServiceCapabilities |
getCapabilities(URI uri)
It try to discover the server capabilities.
|
int |
getDefaultPort() |
String |
getDefaultSchema() |
Feature[] |
getFeature(URI uri,
GazetteerQuery query)
It returns the foubd records
|
protected String |
getFilterSQL(GazetteerQuery query)
Creates a SQL filter to do the search
|
String |
getServiceName() |
boolean |
isDescribeFeatureTypeNeeded()
There are protocols that need to invoke the describeFeatureType
operation before to do a getFeature.
|
boolean |
isProtocolSupported(URI uri)
It have to prove if the specified protocol is supported.
|
protected Feature[] |
parseOutputFile(File file,
String fieldAttribute)
Parses the GML file
|
createQuery, getFeatureTypes, getProjection, getQuery, getUsername, needsUsername, setFeatureTypes, setProjection, setQuery, setUsernamegetAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toStringpublic DiscoveryServiceCapabilities getCapabilities(URI uri)
IDiscoveryServiceDriveruri - Server URIpublic FeatureTypeAttribute[] describeFeatureType(URI uri, String feature)
IGazetteerServiceDriverdescribeFeatureType in interface IGazetteerServiceDriverdescribeFeatureType in class AbstractGazetteerServiceDriveruri - Server URIpublic boolean isDescribeFeatureTypeNeeded()
IGazetteerServiceDriverisDescribeFeatureTypeNeeded in interface IGazetteerServiceDriverisDescribeFeatureTypeNeeded in class AbstractGazetteerServiceDriverpublic Feature[] getFeature(URI uri, GazetteerQuery query) throws Exception
IGazetteerServiceDriveruri - Server URIquery - Query with the search parametersExceptionprotected Feature[] parseOutputFile(File file, String fieldAttribute) throws Exception
file - GPEParserCreationExceptionURISyntaxExceptionExceptionprotected String getFilterSQL(GazetteerQuery query)
public boolean isProtocolSupported(URI uri)
IDiscoveryServiceDriverisProtocolSupported in interface IDiscoveryServiceDriverisProtocolSupported in class AbstractDiscoveryServiceDriveruri - Server URIpublic int getDefaultPort()
getDefaultPort in interface IDiscoveryServiceDrivergetDefaultPort in class AbstractDiscoveryServiceDriverpublic String getDefaultSchema()
getDefaultSchema in interface IDiscoveryServiceDrivergetDefaultSchema in class AbstractDiscoveryServiceDriverpublic String getServiceName()