public class WFSClient extends RemoteClient
hostName, port, serviceName
Constructor and Description |
---|
WFSClient(String host,
boolean ignoreCache)
Constructor.
|
WFSClient(String host,
String version,
boolean ignoreCache) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Does ...
|
boolean |
connect(boolean override,
ICancellable cancel)
Checks the connection to de remote WFS and requests its
capabilities.
|
boolean |
connect(ICancellable cancel) |
File |
describeFeatureType(WFSStatus status,
boolean override,
ICancellable cancel)
The function of the DescribeFeatureType operation is to
generate a schema description of feature types serviced
by a WFS implementation.
|
void |
getCapabilities(WFSStatus status,
boolean override,
ICancellable cancel)
Every OGC Web Service (OWS), including a Web Feature Service,
must have the ability to describe its capabilities by returning
service metadata in response to a GetCapabilities request.
|
WFSFeature |
getFeature(String nameSpace,
String localName) |
File |
getFeature(WFSStatus status,
boolean override,
ICancellable cancel)
The GetFeature operation allows retrieval of features from a
web feature service.
|
Hashtable |
getFeatures()
Returns the features list
|
WFSRequestInformation |
getLastWfsRequestInformation() |
WFSServiceInformation |
getServiceInformation()
Gets the Service information included in the Capabilities
|
String |
getVersion() |
WFSRequestInformation |
getWFSRequestInformationAt(int index)
Return the information of a request
|
int |
getWFSRequestInformationCount() |
void |
lockFeature(WFSStatus status,
boolean override,
ICancellable cancel)
Web connections are inherently stateless.
|
void |
transaction(WFSStatus status,
boolean override,
ICancellable cancel)
The Transaction operation is used to describe data transformation
operations that are to be applied to web accessible feature
instances.
|
getHost, getPort, getServiceName, getSubtype, getType, setHost, setPort, setServiceName, setSubtype, setType
public WFSClient(String host, boolean ignoreCache) throws ConnectException, IOException
ConnectException,IOException
ConnectException
IOException
public WFSClient(String host, String version, boolean ignoreCache) throws IOException
IOException
public void getCapabilities(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status
- WFS client status. Contains all the information to create
the queryWFSException
public File describeFeatureType(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status
- WFS client status. Contains all the information to create
the queryWFSException
public File getFeature(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status
- WFS client status. Contains all the information to create
the queryWFSException
public void transaction(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status
- WFS client status. Contains all the information to create
the queryWFSException
public void lockFeature(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status
- WFSException
public boolean connect(boolean override, ICancellable cancel)
Checks the connection to de remote WFS and requests its capabilities.
connect
in class RemoteClient
public boolean connect(ICancellable cancel)
public void close()
RemoteClient
Does ...
close
in class RemoteClient
public String getVersion()
public WFSServiceInformation getServiceInformation()
public Hashtable getFeatures()
public WFSFeature getFeature(String nameSpace, String localName)
public WFSRequestInformation getLastWfsRequestInformation()
public int getWFSRequestInformationCount()
public WFSRequestInformation getWFSRequestInformationAt(int index)
index
- The position of the request