add formats for WPS GetCapabilities, WPS DescribeProcess and WPS Execute, thanks ahocevar for the great rework on the patch, r=ahocevar, see #3307)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12124 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2011-06-22 09:54:35 +00:00
parent 39d9715853
commit 1aa76f6de6
12 changed files with 1386 additions and 1 deletions
+13
View File
@@ -232,6 +232,9 @@ OpenLayers.Format.OWSCommon.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
delete obj.bottom;
delete obj.right;
delete obj.top;
},
"Language": function(node, obj) {
obj.language = this.getChildValue(node);
}
}
},
@@ -264,11 +267,21 @@ OpenLayers.Format.OWSCommon.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
value: options.bounds.right + " " + options.bounds.top });
return node;
},
"Identifier": function(identifier) {
var node = this.createElementNSPlus("ows:Identifier", {
value: identifier });
return node;
},
"Title": function(title) {
var node = this.createElementNSPlus("ows:Title", {
value: title });
return node;
},
"Abstract": function(abstractValue) {
var node = this.createElementNSPlus("ows:Abstract", {
value: abstractValue });
return node;
},
"OutputFormat": function(format) {
var node = this.createElementNSPlus("ows:OutputFormat", {
value: format });