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(java.net.URI uri,
java.lang.String feature)
It returns feature properties
|
DiscoveryServiceCapabilities |
getCapabilities(java.net.URI uri)
It try to discover the server capabilities.
|
int |
getDefaultPort() |
java.lang.String |
getDefaultSchema() |
Feature[] |
getFeature(java.net.URI uri,
GazetteerQuery query)
It returns the foubd records
|
protected java.lang.String |
getFilterSQL(GazetteerQuery query)
Creates a SQL filter to do the search
|
java.lang.String |
getServiceName() |
boolean |
isDescribeFeatureTypeNeeded()
There are protocols that need to invoke the describeFeatureType
operation before to do a getFeature.
|
boolean |
isProtocolSupported(java.net.URI uri)
It have to prove if the specified protocol is supported.
|
protected Feature[] |
parseOutputFile(java.io.File file,
java.lang.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(java.net.URI uri)
IDiscoveryServiceDriveruri - Server URIpublic FeatureTypeAttribute[] describeFeatureType(java.net.URI uri, java.lang.String feature)
IGazetteerServiceDriverdescribeFeatureType in interface IGazetteerServiceDriverdescribeFeatureType in class AbstractGazetteerServiceDriveruri - Server URIpublic boolean isDescribeFeatureTypeNeeded()
IGazetteerServiceDriverisDescribeFeatureTypeNeeded in interface IGazetteerServiceDriverisDescribeFeatureTypeNeeded in class AbstractGazetteerServiceDriverpublic Feature[] getFeature(java.net.URI uri, GazetteerQuery query) throws java.lang.Exception
IGazetteerServiceDriveruri - Server URIquery - Query with the search parametersjava.lang.Exceptionprotected Feature[] parseOutputFile(java.io.File file, java.lang.String fieldAttribute) throws java.lang.Exception
file - GPEParserCreationExceptionjava.net.URISyntaxExceptionjava.lang.Exceptionprotected java.lang.String getFilterSQL(GazetteerQuery query)
public boolean isProtocolSupported(java.net.URI uri)
IDiscoveryServiceDriverisProtocolSupported in interface IDiscoveryServiceDriverisProtocolSupported in class AbstractDiscoveryServiceDriveruri - Server URIpublic int getDefaultPort()
getDefaultPort in interface IDiscoveryServiceDrivergetDefaultPort in class AbstractDiscoveryServiceDriverpublic java.lang.String getDefaultSchema()
getDefaultSchema in interface IDiscoveryServiceDrivergetDefaultSchema in class AbstractDiscoveryServiceDriverpublic java.lang.String getServiceName()