Move WCS_Capabilities reader into v_1_0_0 class

This commit is contained in:
Christopher Eykamp
2013-01-02 13:41:34 +01:00
parent eb4bbff8f4
commit 37fd98bb03
3 changed files with 3 additions and 16 deletions
@@ -50,21 +50,6 @@ OpenLayers.Format.WCSCapabilities.v1 = OpenLayers.Class(
return capabilities;
},
/**
* Property: readers
* Contains public functions, grouped by namespace prefix, that will
* be applied when a namespaced node is found matching the function
* name. The function will be applied in the scope of this parser
* with two arguments: the node being read and a context object passed
* from the parent.
*/
readers: {
"wcs": {
"WCS_Capabilities": function(node, obj) { // In 1.0.0, this was WCS_Capabilties, changed in 1.1.0
this.readChildNodes(node, obj);
}
}
},
CLASS_NAME: "OpenLayers.Format.WCSCapabilities.v1"