Revision 33738 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wfs/WFSProtocolHandler.java
WFSProtocolHandler.java | ||
---|---|---|
8 | 8 |
import java.util.StringTokenizer; |
9 | 9 |
import java.util.Vector; |
10 | 10 |
|
11 |
import org.kxml2.io.KXmlParser; |
|
12 |
|
|
13 |
import org.gvsig.compat.net.ICancellable; |
|
11 | 14 |
import org.gvsig.remoteclient.ogc.OGCProtocolHandler; |
12 | 15 |
import org.gvsig.remoteclient.ogc.OGCServiceInformation; |
13 | 16 |
import org.gvsig.remoteclient.utils.CapabilitiesTags; |
14 |
import org.gvsig.remoteclient.utils.Utilities; |
|
15 | 17 |
import org.gvsig.remoteclient.wfs.edition.WFSTTransaction; |
16 | 18 |
import org.gvsig.remoteclient.wfs.exceptions.WFSException; |
17 | 19 |
import org.gvsig.remoteclient.wfs.request.WFSDescribeFeatureTypeRequest; |
18 | 20 |
import org.gvsig.remoteclient.wfs.request.WFSGetFeatureRequest; |
19 | 21 |
import org.gvsig.remoteclient.wfs.request.WFSTLockFeatureRequest; |
20 | 22 |
import org.gvsig.remoteclient.wfs.schema.GMLTags; |
21 |
import org.gvsig.remoteclient.wms.ICancellable; |
|
22 |
import org.kxml2.io.KXmlParser; |
|
23 | 23 |
|
24 | 24 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
25 | 25 |
* |
... | ... | |
136 | 136 |
try { |
137 | 137 |
request = new URL(buildCapabilitiesRequest(status)); |
138 | 138 |
if (override){ |
139 |
Utilities.removeURL(request);
|
|
139 |
downloader.removeURL(request);
|
|
140 | 140 |
} |
141 |
File f = Utilities.downloadFile(request,"wfs_capabilities.xml", cancel);
|
|
141 |
File f = downloader.downloadFile(request,"wfs_capabilities.xml", cancel);
|
|
142 | 142 |
if (f == null) |
143 | 143 |
return; |
144 | 144 |
clear(); |
... | ... | |
295 | 295 |
WFSTTransaction transaction = status.getTransactionAt(i); |
296 | 296 |
if (transaction.getStatus() == WFSTTransaction.STATUS_NO_EXECUTED){ |
297 | 297 |
System.out.println(transaction.getWFSTRequest()); |
298 |
File f = Utilities.downloadFile(request,
|
|
298 |
File f = downloader.downloadFile(request,
|
|
299 | 299 |
transaction.getWFSTRequest(), |
300 | 300 |
"wfs_transaction.xml", null); |
301 | 301 |
parseTransaction(f,status.getNamespacePrefix(),transaction); |
Also available in: Unified diff