|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.remoteclient.RemoteClient
org.gvsig.remoteclient.wfs.WFSClient
public class WFSClient
Represents the class the with the necessary logic to connect to a OGCWFS and interpretate the data
| Field Summary |
|---|
| Fields inherited from class org.gvsig.remoteclient.RemoteClient |
|---|
hostName, port, serviceName |
| Constructor Summary | |
|---|---|
WFSClient(java.lang.String host)
Constructor. |
|
WFSClient(java.lang.String host,
java.lang.String version)
|
|
| Method Summary | |
|---|---|
void |
close()
Does ... |
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. |
| Methods inherited from class org.gvsig.remoteclient.RemoteClient |
|---|
getHost, getPort, getServiceName, getSubtype, getType, setHost, setPort, setServiceName, setSubtype, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WFSClient(java.lang.String host)
throws java.net.ConnectException,
java.io.IOException
ConnectException,IOException
java.net.ConnectException
java.io.IOException
public WFSClient(java.lang.String host,
java.lang.String version)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public 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 query
WFSException
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 query
WFSException
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 query
WFSException
public 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 query
WFSException
public void lockFeature(WFSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
throws WFSException
status -
WFSException
public boolean connect(boolean override,
org.gvsig.compat.net.ICancellable cancel)
Checks the connection to de remote WFS and requests its capabilities.
connect in class RemoteClientpublic boolean connect(org.gvsig.compat.net.ICancellable cancel)
public void close()
RemoteClientDoes ...
close in class RemoteClientpublic java.lang.String getVersion()
public WFSServiceInformation getServiceInformation()
public java.util.Hashtable getFeatures()
public WFSFeature getFeature(java.lang.String nameSpace,
java.lang.String localName)
public WFSRequestInformation getLastWfsRequestInformation()
public int getWFSRequestInformationCount()
public WFSRequestInformation getWFSRequestInformationAt(int index)
index - The position of the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||