From 11b38e541980291a25a5d336444d03b9f691e243 Mon Sep 17 00:00:00 2001 From: bartvde Date: Tue, 6 Oct 2009 17:15:19 +0000 Subject: [PATCH] Format.WFST.v1: Query writer can be removed, r=tschaub (closes #2249) git-svn-id: http://svn.openlayers.org/trunk/openlayers@9719 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Format/WFST/v1.js | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/lib/OpenLayers/Format/WFST/v1.js b/lib/OpenLayers/Format/WFST/v1.js index fdabaf1c32..3cbba7a6dd 100644 --- a/lib/OpenLayers/Format/WFST/v1.js +++ b/lib/OpenLayers/Format/WFST/v1.js @@ -188,31 +188,6 @@ OpenLayers.Format.WFST.v1 = OpenLayers.Class(OpenLayers.Format.XML, { this.writeNode("Query", options, node); return node; }, - "Query": function(options) { - options = OpenLayers.Util.extend({ - featureNS: this.featureNS, - featurePrefix: this.featurePrefix, - featureType: this.featureType, - srsName: this.srsName - }, options); - // TODO: this is still version specific and should be separated out - // v1.0.0 does not allow srsName on wfs:Query - var node = this.createElementNSPlus("wfs:Query", { - attributes: { - typeName: (options.featureNS ? options.featurePrefix + ":" : "") + - options.featureType, - srsName: options.srsName - } - }); - if(options.featureNS) { - node.setAttribute("xmlns:" + options.featurePrefix, options.featureNS); - } - if(options.filter) { - this.setFilterProperty(options.filter); - this.writeNode("ogc:Filter", options.filter, node); - } - return node; - }, "Transaction": function(features) { var node = this.createElementNSPlus("wfs:Transaction", { attributes: {