public class WFSClient
extends org.gvsig.remoteclient.RemoteClient
| Constructor and Description |
|---|
WFSClient(java.lang.String host,
boolean ignoreCache)
Constructor.
|
WFSClient(java.lang.String host,
java.lang.String version,
boolean ignoreCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
connect(boolean override,
org.gvsig.compat.net.ICancellable cancel)
Checks the connection to de remote WFS and requests its
capabilities.
|
boolean |
connect(org.gvsig.compat.net.ICancellable cancel) |
java.io.File |
describeFeatureType(WFSStatus status,
boolean override,
org.gvsig.compat.net.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,
org.gvsig.compat.net.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(java.lang.String nameSpace,
java.lang.String localName) |
java.io.File |
getFeature(WFSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
The GetFeature operation allows retrieval of features from a
web feature service.
|
java.util.Hashtable |
getFeatures()
Returns the features list
|
WFSRequestInformation |
getLastWfsRequestInformation() |
WFSServiceInformation |
getServiceInformation()
Gets the Service information included in the Capabilities
|
java.lang.String |
getVersion() |
WFSRequestInformation |
getWFSRequestInformationAt(int index)
Return the information of a request
|
int |
getWFSRequestInformationCount() |
void |
lockFeature(WFSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
Web connections are inherently stateless.
|
void |
transaction(WFSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
The Transaction operation is used to describe data transformation
operations that are to be applied to web accessible feature
instances.
|
public WFSClient(java.lang.String host,
boolean ignoreCache)
throws java.net.ConnectException,
java.io.IOException
ConnectException,IOExceptionjava.net.ConnectExceptionjava.io.IOExceptionpublic WFSClient(java.lang.String host,
java.lang.String version,
boolean ignoreCache)
throws java.io.IOException
java.io.IOExceptionpublic void close()
close in class org.gvsig.remoteclient.RemoteClientpublic boolean connect(boolean override,
org.gvsig.compat.net.ICancellable cancel)
Checks the connection to de remote WFS and requests its capabilities.
connect in class org.gvsig.remoteclient.RemoteClientpublic boolean connect(org.gvsig.compat.net.ICancellable cancel)
public java.io.File describeFeatureType(WFSStatus status, boolean override, org.gvsig.compat.net.ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionpublic void getCapabilities(WFSStatus status, boolean override, org.gvsig.compat.net.ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionpublic WFSFeature getFeature(java.lang.String nameSpace, java.lang.String localName)
public java.io.File getFeature(WFSStatus status, boolean override, org.gvsig.compat.net.ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionpublic java.util.Hashtable getFeatures()
public WFSRequestInformation getLastWfsRequestInformation()
public WFSServiceInformation getServiceInformation()
public java.lang.String getVersion()
public WFSRequestInformation getWFSRequestInformationAt(int index)
index - The position of the requestpublic int getWFSRequestInformationCount()
public void lockFeature(WFSStatus status, boolean override, org.gvsig.compat.net.ICancellable cancel) throws WFSException
status - WFSExceptionpublic void transaction(WFSStatus status, boolean override, org.gvsig.compat.net.ICancellable cancel) throws WFSException
status - WFS client status. Contains all the information to create
the queryWFSExceptionCopyright © 2014 gvSIG Association. All Rights Reserved.