1 | .. _api-zoo-format-wps: |
---|
2 | |
---|
3 | ZOO.Format.WPS |
---|
4 | ============== |
---|
5 | |
---|
6 | Read/Write WPS. |
---|
7 | |
---|
8 | Inherits from |
---|
9 | |
---|
10 | - :ref:`ZOO.Format <api-zoo-format>` |
---|
11 | |
---|
12 | Functions and Properties |
---|
13 | ------------------------ |
---|
14 | |
---|
15 | .. list-table:: |
---|
16 | :widths: 30 50 |
---|
17 | :header-rows: 1 |
---|
18 | |
---|
19 | * - NAME |
---|
20 | - DESCRIPTION |
---|
21 | * - :ref:`schemaLocation <schemaLocation>` |
---|
22 | - {String} Schema location for a particular minor version. |
---|
23 | * - :ref:`namespaces <namespaces>` |
---|
24 | - {Object} Mapping of namespace aliases to namespace URIs. |
---|
25 | * - :ref:`read <read>` |
---|
26 | - |
---|
27 | * - :ref:`parseExecuteResponse <parseExecuteResponse>` |
---|
28 | - |
---|
29 | * - :ref:`parseData <parseData>` |
---|
30 | - Object containing methods to analyse data response. |
---|
31 | * - :ref:`parseData.complexdata <parseData.complexdata>` |
---|
32 | - Given an Object representing the WPS complex data response. |
---|
33 | * - :ref:`parseData.literaldata <parseData.literaldata>` |
---|
34 | - Given an Object representing the WPS literal data response. |
---|
35 | * - :ref:`parseData.reference <parseData.reference>` |
---|
36 | - Given an Object representing the WPS reference response. |
---|
37 | |
---|
38 | .. _schemaLocation: |
---|
39 | |
---|
40 | schemaLocation |
---|
41 | ``{String}`` Schema location for a particular minor version. |
---|
42 | |
---|
43 | .. _namespaces: |
---|
44 | |
---|
45 | namespaces |
---|
46 | ``{Object}`` Mapping of namespace aliases to namespace URIs. |
---|
47 | |
---|
48 | .. _read: |
---|
49 | |
---|
50 | read |
---|
51 | :: |
---|
52 | |
---|
53 | read:function(data) |
---|
54 | |
---|
55 | *Parameters* |
---|
56 | |
---|
57 | ``data {String}`` A WPS xml document |
---|
58 | |
---|
59 | *Returns* |
---|
60 | |
---|
61 | ``{Object}`` Execute response. |
---|
62 | |
---|
63 | .. _parseExecuteResponse: |
---|
64 | |
---|
65 | parseExecuteResponse |
---|
66 | :: |
---|
67 | |
---|
68 | parseExecuteResponse: function(node) |
---|
69 | |
---|
70 | *Parameters* |
---|
71 | |
---|
72 | ``node {E4XElement}`` A WPS ExecuteResponse document |
---|
73 | |
---|
74 | *Returns* |
---|
75 | |
---|
76 | ``{Object}`` Execute response. |
---|
77 | |
---|
78 | .. _parseData: |
---|
79 | |
---|
80 | parseData |
---|
81 | Object containing methods to analyse data response. |
---|
82 | |
---|
83 | .. _parseData.complexdata: |
---|
84 | |
---|
85 | parseData.complexdata |
---|
86 | Given an Object representing the WPS complex data response. |
---|
87 | |
---|
88 | *Parameters* |
---|
89 | |
---|
90 | ``node {E4XElement}`` A WPS node. |
---|
91 | |
---|
92 | *Returns* |
---|
93 | |
---|
94 | ``{Object}`` A WPS complex data response. |
---|
95 | |
---|
96 | .. _parseData.literaldata: |
---|
97 | |
---|
98 | parseData.literaldata |
---|
99 | Given an Object representing the WPS literal data response.\ |
---|
100 | |
---|
101 | *Parameters* |
---|
102 | |
---|
103 | ``node {E4XElement}`` A WPS node. |
---|
104 | |
---|
105 | *Returns* |
---|
106 | |
---|
107 | ``{Object}`` A WPS literal data response. |
---|
108 | |
---|
109 | .. _parseData.reference: |
---|
110 | |
---|
111 | parseData.reference |
---|
112 | Given an Object representing the WPS reference response. |
---|
113 | |
---|
114 | *Parameters* |
---|
115 | |
---|
116 | ``node {E4XElement}`` A WPS node. |
---|
117 | |
---|
118 | *Returns* |
---|
119 | |
---|
120 | ``{Object}`` A WPS reference response. |
---|