Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<TITLE>
6
Caps2Context
7
</TITLE>
8
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
9
</HEAD>
10
<SCRIPT>
11
function asd()
12
{
13
parent.document.title="Caps2Context";
14
}
15
</SCRIPT>
16
<BODY BGCOLOR="white" onload="asd();">
17

    
18
<!-- ========== START OF NAVBAR ========== -->
19
<A NAME="navbar_bottom"><!-- --></A>
20
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
21
<TR>
22
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
23
<A NAME="navbar_bottom_firstrow"><!-- --></A>
24
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
25
  <TR ALIGN="center" VALIGN="top">
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Caps2Context.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
28
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
29
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
30
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
31
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
32
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
33
  </TR>
34
</TABLE>
35
</TD>
36
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
37
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
38
</EM>
39
</TD
40
</TR>
41

    
42
<TR>
43
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
44
&nbsp;<A HREF="ButtonBase.html"><B>PREV CLASS</B></A><!-- 
45
   NEXT CLASS 
46
-->
47
&nbsp;<A HREF="CollectionList.html"><B>NEXT CLASS</B></A></FONT></TD>
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
50
&nbsp;<A HREF="Caps2Context.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
51
&nbsp;
52
<SCRIPT>
53
  <!--
54
  if(window==top) {
55
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
56
  }
57
  //-->
58
</SCRIPT>
59
<NOSCRIPT>
60
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
61
</NOSCRIPT>
62
</FONT></TD>
63
</TR>
64
<TR>
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
66
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
68
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
69
</TR>
70
</TABLE>
71
<!-- =========== END OF NAVBAR =========== -->
72
<HR>
73

    
74
<!-- ======== START OF CLASS DATA ======== -->
75
<H2>Class Caps2Context</H2>
76
<PRE>Object
77
   |
78
   +--<a href='ToolBase.html'>ToolBase</a>
79
         |
80
         +--<b>Caps2Context</b>
81
</PRE>
82

    
83

    
84
<HR>
85
<DL>
86
   <!-- Class definition -->
87
   <DT>class 
88
   <B>Caps2Context</B>
89
   
90
      <DT>extends <a href='ToolBase.html'>ToolBase</a> 
91
   
92

    
93
</DL>
94
   
95
   <P>
96
   <I>Defined in <a href='overview-summary-Caps2Context.js.html'>Caps2Context.js</a></I><BR/><BR/>
97
   </P>
98
   
99
   <HR>
100

    
101
<!-- ======== NESTED CLASS SUMMARY ======== -->
102

    
103
<!-- ======== END NESTED CLASS SUMMARY ======== -->
104

    
105

    
106
<!-- =========== FIELD SUMMARY =========== -->
107

    
108
   <A NAME="field_summary"><!-- --></A>
109
      <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
110
         <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
111
            <TD COLSPAN=2><FONT SIZE="+2">
112
               <B>Field Summary</B></FONT></TD>
113
         </TR>
114

    
115
   <!-- This is one instance field summary -->
116
   
117
   <TR BGCOLOR="white" CLASS="TableRowColor">
118
   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119
   <CODE>&nbsp;Object</CODE></FONT></TD>
120
   <TD><CODE><B><A HREF="#stylesheet">stylesheet</A></B></CODE>
121
   <BR>
122
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
123
   </TR>
124
   
125

    
126
   </TABLE>
127
   &nbsp;
128
   
129

    
130
   
131
   
132
   &nbsp;<A NAME=""><!-- --></A>
133
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
134
   <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
135
   <TD><B>Fields inherited from class <A HREF="ToolBase.html">ToolBase</A></B></TD>
136
   </TR>
137
   <TR BGCOLOR="white" CLASS="TableRowColor">
138
   <TD><CODE>
139
   <a href="ToolBase.html#model">model</a>, <a href="ToolBase.html#toolNode">toolNode</a>, <a href="ToolBase.html#enabled">enabled</a>
140
   </CODE></TD>
141
   </TR>
142
</TABLE>
143
&nbsp;
144

    
145

    
146

    
147
<!-- =========== END FIELD SUMMARY =========== -->
148

    
149

    
150
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
151

    
152
<A NAME="constructor_summary"><!-- --></A>
153
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
154
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
155
<TD COLSPAN=2><FONT SIZE="+2">
156
<B>Constructor Summary</B></FONT></TD>
157
</TR>
158
<TR BGCOLOR="white" CLASS="TableRowColor">
159
   <TD>
160
      <CODE>
161
	 <B>
162
	    <A HREF="Caps2Context.html#Caps2Context()">Caps2Context</A> 
163
	 </B>
164
	 (toolNode, model)
165
      </CODE>
166
      <BR>
167
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
168
      Build a Web Map Context (WMC) from a Web Map Server getCapabilities response.
169
      </TD>
170
</TR>
171
</TABLE>
172

    
173
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
174

    
175
&nbsp;
176

    
177
<!-- ========== METHOD SUMMARY =========== -->
178

    
179
<A NAME="method_summary"><!-- --></A>
180
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
181
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
182
<TD COLSPAN=2><FONT SIZE="+2">
183
<B>Method Summary</B></FONT></TD>
184
</TR>
185

    
186

    
187
   <TR BGCOLOR="white" CLASS="TableRowColor">
188
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
189
	 <FONT SIZE="-1">
190
	    <CODE>&nbsp;void</CODE>
191
	 </FONT>
192
      </TD>
193
      <TD>
194
	 <CODE>
195
	    <B>
196
	       <A HREF="#mapAllLayers">mapAllLayers</A></B>(objRef)
197
	 </CODE>
198
	 <BR>
199
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
200
	 Listener function which does the transformation and loads the target model
201
      </TD>
202
   </TR>
203

    
204
   <TR BGCOLOR="white" CLASS="TableRowColor">
205
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
206
	 <FONT SIZE="-1">
207
	    <CODE>&nbsp;void</CODE>
208
	 </FONT>
209
      </TD>
210
      <TD>
211
	 <CODE>
212
	    <B>
213
	       <A HREF="#mapSingleLayer">mapSingleLayer</A></B>(objRef, layerName)
214
	 </CODE>
215
	 <BR>
216
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
217
	 Listener function which does the transformation and loads the target model.
218
      </TD>
219
   </TR>
220

    
221

    
222
</TABLE>
223

    
224

    
225

    
226
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
227
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
228
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
229
<TD><B>Methods inherited from class <a href="ToolBase.html">ToolBase</a></B></TD>
230
</TR>
231
<TR BGCOLOR="white" CLASS="TableRowColor">
232
<TD><CODE>
233
<!-- Inherited methods -->
234
<a href="ToolBase.html#initTargetModel">initTargetModel</a>, <a href="ToolBase.html#initMouseHandler">initMouseHandler</a>, <a href="ToolBase.html#getProperty">getProperty</a>
235
</CODE></TD>
236
</TR>
237
</TABLE>
238
&nbsp;
239

    
240
<P>
241
<!-- ========== END METHOD SUMMARY =========== -->
242

    
243

    
244
<!-- ============ FIELD DETAIL START =========== -->
245

    
246
   <A NAME="field_detail"><!-- --></A>
247
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
248
      <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
249
         <TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
250
      </TR>
251
   </TABLE>
252

    
253
   
254
   <A NAME="stylesheet"><!-- --></A>
255
   <H3>stylesheet</H3>
256
   <PRE>Object&nbsp;<B>stylesheet</B></PRE>
257
   <UL>
258
   
259
   
260
   </UL>
261
   <HR>
262
   
263

    
264

    
265
<!-- ============ FIELD DETAIL END =========== -->
266

    
267
    <!-- ========= CONSTRUCTOR DETAIL START ======== -->
268

    
269
<A NAME="constructor_detail"><!-- --></A>
270
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
271
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
272
      <TD COLSPAN=1>
273
      <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
274
      </TD>
275
   </TR>
276
</TABLE>
277

    
278
<A NAME="Caps2Context()"><!-- --></A><H3>
279
Caps2Context</H3>
280
<PRE><B>Caps2Context</B>(toolNode, model)</PRE>
281

    
282

    
283
<UL>
284
   Build a Web Map Context (WMC) from a Web Map Server getCapabilities response.
285
 This tool will replace the identified targetModel as opposed to editing
286
 the target model which the EditContext tool will do.
287
</UL>
288

    
289

    
290

    
291
   <UL>
292
   <B>Parameters:</B>
293
   
294
     <UL><CODE>toolNode</CODE> -  The tools's XML object node from the configuration document.  
295
     </UL>
296
   
297
     <UL><CODE>model</CODE> -     The model that this tool belongs to
298
     </UL>
299
   
300
   
301
   </UL>
302

    
303

    
304
<!-- Constructor return value(s) -->
305

    
306
<!-- End constructor return value(s) -->
307

    
308
<!-- ADDITIONAL ATTRIBUTES -->
309

    
310
<HR/>
311
<!-- END ADDITIONAL ATTRIBUTES  -->
312

    
313
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
314

    
315

    
316
<!-- ============ METHOD DETAIL START ========== -->
317

    
318
<A NAME="method_detail"><!-- --></A>
319
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
320
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
321
      <TD COLSPAN=1><FONT SIZE="+2">
322
         <B>Method Detail</B></FONT>
323
      </TD>
324
   </TR>
325
</TABLE>
326

    
327
<!-- One single method detail entry -->
328

    
329
   <A NAME="mapAllLayers"><!-- --></A>
330
   <H3>mapAllLayers</H3>
331
   <PRE>void <B>mapAllLayers</B>(objRef)</PRE>
332
   
333
      <UL>Listener function which does the transformation and loads the target model</UL>
334
   
335

    
336
   <!-- METHOD PARAMETERS START -->
337
   
338
   <UL>
339
   <B>Parameters:</B>
340
   
341
     <UL><CODE>requestName</CODE> -  the name of the web service operation to execute  
342
      </UL> 
343
   
344
     <UL><CODE>featureNodeId</CODE> -  the id of the node in the doc to be processed by the stylesheet       
345
      </UL> 
346
   
347
   </UL>
348
   
349
   <!-- METHOD PARAMETERS END -->
350

    
351
   
352

    
353
   <!-- ADDITIONAL ATTRIBUTES START -->
354
   
355
   <!-- ADDITIONAL ATTRIBUTES  END -->
356
<HR>
357

    
358
   <A NAME="mapSingleLayer"><!-- --></A>
359
   <H3>mapSingleLayer</H3>
360
   <PRE>void <B>mapSingleLayer</B>(objRef, layerName)</PRE>
361
   
362
      <UL>Listener function which does the transformation and loads the target model.
363
 this wersion will convert a single layer from the Capabilities doc into a
364
 context doc.</UL>
365
   
366

    
367
   <!-- METHOD PARAMETERS START -->
368
   
369
   <UL>
370
   <B>Parameters:</B>
371
   
372
     <UL><CODE>requestName</CODE> -  the name of the web service operation to execute  
373
      </UL> 
374
   
375
     <UL><CODE>featureNodeId</CODE> -  the id of the node in the doc to be processed by the stylesheet       
376
      </UL> 
377
   
378
   </UL>
379
   
380
   <!-- METHOD PARAMETERS END -->
381

    
382
   
383

    
384
   <!-- ADDITIONAL ATTRIBUTES START -->
385
   
386
   <!-- ADDITIONAL ATTRIBUTES  END -->
387
<HR>
388

    
389

    
390

    
391
<!-- ============ METHOD DETAIL END ========== -->
392

    
393
<!-- ========= END OF CLASS DATA ========= -->
394

    
395
<!-- ========== START OF NAVBAR ========== -->
396
<A NAME="navbar_bottom"><!-- --></A>
397
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
398
<TR>
399
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
400
<A NAME="navbar_bottom_firstrow"><!-- --></A>
401
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
402
  <TR ALIGN="center" VALIGN="top">
403
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
404
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Caps2Context.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
405
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
406
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
407
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
408
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
409
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
410
  </TR>
411
</TABLE>
412
</TD>
413
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
414
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
415
</EM>
416
</TD
417
</TR>
418

    
419
<TR>
420
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
421
&nbsp;<A HREF="ButtonBase.html"><B>PREV CLASS</B></A><!-- 
422
   NEXT CLASS 
423
-->
424
&nbsp;<A HREF="CollectionList.html"><B>NEXT CLASS</B></A></FONT></TD>
425
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
426
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
427
&nbsp;<A HREF="Caps2Context.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
428
&nbsp;
429
<SCRIPT>
430
  <!--
431
  if(window==top) {
432
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
433
  }
434
  //-->
435
</SCRIPT>
436
<NOSCRIPT>
437
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
438
</NOSCRIPT>
439
</FONT></TD>
440
</TR>
441
<TR>
442
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
443
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
444
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
445
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
446
</TR>
447
</TABLE>
448

    
449
<!-- =========== END OF NAVBAR =========== -->
450

    
451
<HR>
452
<FONT SIZE="-1">
453

    
454
</FONT>
455
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Sun Apr 27 20:30:54 2008</div>
456
</BODY>
457
</HTML>
(7-7/316)