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, setTypepublic WFSClient(String host, boolean ignoreCache) throws ConnectException, IOException
ConnectException,IOExceptionConnectExceptionIOExceptionpublic WFSClient(String host, String version, boolean ignoreCache) throws IOException
IOExceptionpublic void getCapabilities(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionpublic File describeFeatureType(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionpublic File getFeature(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionpublic void transaction(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionpublic void lockFeature(WFSStatus status, boolean override, ICancellable cancel) throws WFSException
status - WFSExceptionpublic boolean connect(boolean override,
ICancellable cancel)
Checks the connection to de remote WFS and requests its capabilities.
connect in class RemoteClientpublic boolean connect(ICancellable cancel)
public void close()
RemoteClientDoes ...
close in class RemoteClientpublic 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