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