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, setUsername
getAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAditionalSearchPanel, getOneServer, getServerAnswerReady, setServerAnswerReady, toString
public DiscoveryServiceCapabilities getCapabilities(URI uri)
IDiscoveryServiceDriver
uri
- Server URIpublic FeatureTypeAttribute[] describeFeatureType(URI uri, String feature)
IGazetteerServiceDriver
describeFeatureType
in interface IGazetteerServiceDriver
describeFeatureType
in class AbstractGazetteerServiceDriver
uri
- Server URIpublic boolean isDescribeFeatureTypeNeeded()
IGazetteerServiceDriver
isDescribeFeatureTypeNeeded
in interface IGazetteerServiceDriver
isDescribeFeatureTypeNeeded
in class AbstractGazetteerServiceDriver
public Feature[] getFeature(URI uri, GazetteerQuery query) throws Exception
IGazetteerServiceDriver
uri
- Server URIquery
- Query with the search parametersException
protected Feature[] parseOutputFile(File file, String fieldAttribute) throws Exception
file
- GPEParserCreationException
URISyntaxException
Exception
protected String getFilterSQL(GazetteerQuery query)
public boolean isProtocolSupported(URI uri)
IDiscoveryServiceDriver
isProtocolSupported
in interface IDiscoveryServiceDriver
isProtocolSupported
in class AbstractDiscoveryServiceDriver
uri
- Server URIpublic int getDefaultPort()
getDefaultPort
in interface IDiscoveryServiceDriver
getDefaultPort
in class AbstractDiscoveryServiceDriver
public String getDefaultSchema()
getDefaultSchema
in interface IDiscoveryServiceDriver
getDefaultSchema
in class AbstractDiscoveryServiceDriver
public String getServiceName()