1
|
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
|
2
|
* full list of contributors). Published under the 2-clause BSD license.
|
3
|
* See license.txt in the OpenLayers distribution or repository for the
|
4
|
* full text of the license. */
|
5
|
|
6
|
/**
|
7
|
* @requires OpenLayers/Format/XML/VersionedOGC.js
|
8
|
*/
|
9
|
|
10
|
/**
|
11
|
* Class: OpenLayers.Format.WPSCapabilities
|
12
|
* Read WPS Capabilities.
|
13
|
*
|
14
|
* Inherits from:
|
15
|
* - <OpenLayers.Format.XML.VersionedOGC>
|
16
|
*/
|
17
|
OpenLayers.Format.WPSCapabilities = OpenLayers.Class(OpenLayers.Format.XML.VersionedOGC, {
|
18
|
|
19
|
/**
|
20
|
* APIProperty: defaultVersion
|
21
|
* {String} Version number to assume if none found. Default is "1.0.0".
|
22
|
*/
|
23
|
defaultVersion: "1.0.0",
|
24
|
|
25
|
/**
|
26
|
* Constructor: OpenLayers.Format.WPSCapabilities
|
27
|
* Create a new parser for WPS Capabilities.
|
28
|
*
|
29
|
* Parameters:
|
30
|
* options - {Object} An optional object whose properties will be set on
|
31
|
* this instance.
|
32
|
*/
|
33
|
|
34
|
/**
|
35
|
* APIMethod: read
|
36
|
* Read capabilities data from a string, and return information about
|
37
|
* the service.
|
38
|
*
|
39
|
* Parameters:
|
40
|
* data - {String} or {DOMElement} data to read/parse.
|
41
|
*
|
42
|
* Returns:
|
43
|
* {Object} Info about the WPS
|
44
|
*/
|
45
|
|
46
|
CLASS_NAME: "OpenLayers.Format.WPSCapabilities"
|
47
|
|
48
|
});
|