Coverage details for edu.umn.gis.mapscript.imp.webObj

LineHitsSource
1 // A Java MapScript module for MapServer.
2 // See <http://mapserver.gis.umn.edu> for information on MapServer.
3 //
4 // Copyright (C) 2003 Andrew Collins <andrewrcollins@yahoo.com>
5 //
6 // This library is free software; you can redistribute it
7 // and/or modify it under the terms of the GNU Lesser General
8 // Public License as published by the Free Software Foundation;
9 // either version 2.1 of the License, or (at your option) any
10 // later version.
11 //
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty
14 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 // See the GNU Lesser General Public License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General
18 // Public License along with this library; if not, write to
19 // the Free Software Foundation, Inc., 59 Temple Place,
20 // Suite 330, Boston, MA 02111-1307 USA
21 package edu.umn.gis.mapscript.imp;
22  
23 /**
24  * DOCUMENT ME!
25  *
26  * @author <a href="mailto:ADDRESS">NAME</a>
27  *
28  * @todo CLASS_DESCRIPTION
29  */
30 public class webObj
31 {
32   /**
33    * DOCUMENT ME!
34    *
35    * @todo FIELD_DESCRIPTION
36    */
37   protected boolean swigCMemOwn;
38  
39   /**
40    * DOCUMENT ME!
41    *
42    * @todo FIELD_DESCRIPTION
43    */
44   private long swigCPtr;
45  
46   /**
47    * Creates a new webObj object.
48    */
49   public webObj()
50   {
510    this(MapScriptJNI.new_webObj(), true);
520  }
53  
54   /**
55    * Creates a new webObj object.
56    *
57    * @param cPtr PARAMETER
58    * @param cMemoryOwn PARAMETER
59    */
60   protected webObj(long cPtr, boolean cMemoryOwn)
610  {
620    swigCMemOwn = cMemoryOwn;
630    swigCPtr = cPtr;
640  }
65  
66   /**
67    * DOCUMENT ME!
68    *
69    * @param empty PARAMETER
70    *
71    * @todo METHOD_DESCRIPTION
72    */
73   public void setEmpty(String empty)
74   {
750    MapScriptJNI.set_webObj_empty(swigCPtr, empty);
760  }
77  
78   /**
79    * DOCUMENT ME!
80    *
81    * @return RETURN
82    *
83    * @todo METHOD_DESCRIPTION
84    */
85   public String getEmpty()
86   {
870    return MapScriptJNI.get_webObj_empty(swigCPtr);
88   }
89  
90   /**
91    * DOCUMENT ME!
92    *
93    * @param error PARAMETER
94    *
95    * @todo METHOD_DESCRIPTION
96    */
97   public void setError(String error)
98   {
990    MapScriptJNI.set_webObj_error(swigCPtr, error);
1000  }
101  
102   /**
103    * DOCUMENT ME!
104    *
105    * @return RETURN
106    *
107    * @todo METHOD_DESCRIPTION
108    */
109   public String getError()
110   {
1110    return MapScriptJNI.get_webObj_error(swigCPtr);
112   }
113  
114   /**
115    * DOCUMENT ME!
116    *
117    * @param extent PARAMETER
118    *
119    * @todo METHOD_DESCRIPTION
120    */
121   public void setExtent(rectObj extent)
122   {
1230    MapScriptJNI.set_webObj_extent(swigCPtr, rectObj.getCPtr(extent));
1240  }
125  
126   /**
127    * DOCUMENT ME!
128    *
129    * @return RETURN
130    *
131    * @todo METHOD_DESCRIPTION
132    */
133   public rectObj getExtent()
134   {
1350    return new rectObj(MapScriptJNI.get_webObj_extent(swigCPtr), false);
136   }
137  
138   /**
139    * DOCUMENT ME!
140    *
141    * @param footer PARAMETER
142    *
143    * @todo METHOD_DESCRIPTION
144    */
145   public void setFooter(String footer)
146   {
1470    MapScriptJNI.set_webObj_footer(swigCPtr, footer);
1480  }
149  
150   /**
151    * DOCUMENT ME!
152    *
153    * @return RETURN
154    *
155    * @todo METHOD_DESCRIPTION
156    */
157   public String getFooter()
158   {
1590    return MapScriptJNI.get_webObj_footer(swigCPtr);
160   }
161  
162   /**
163    * DOCUMENT ME!
164    *
165    * @param header PARAMETER
166    *
167    * @todo METHOD_DESCRIPTION
168    */
169   public void setHeader(String header)
170   {
1710    MapScriptJNI.set_webObj_header(swigCPtr, header);
1720  }
173  
174   /**
175    * DOCUMENT ME!
176    *
177    * @return RETURN
178    *
179    * @todo METHOD_DESCRIPTION
180    */
181   public String getHeader()
182   {
1830    return MapScriptJNI.get_webObj_header(swigCPtr);
184   }
185  
186   /**
187    * DOCUMENT ME!
188    *
189    * @param imagepath PARAMETER
190    *
191    * @todo METHOD_DESCRIPTION
192    */
193   public void setImagepath(String imagepath)
194   {
1950    MapScriptJNI.set_webObj_imagepath(swigCPtr, imagepath);
1960  }
197  
198   /**
199    * DOCUMENT ME!
200    *
201    * @return RETURN
202    *
203    * @todo METHOD_DESCRIPTION
204    */
205   public String getImagepath()
206   {
2070    return MapScriptJNI.get_webObj_imagepath(swigCPtr);
208   }
209  
210   /**
211    * DOCUMENT ME!
212    *
213    * @param imageurl PARAMETER
214    *
215    * @todo METHOD_DESCRIPTION
216    */
217   public void setImageurl(String imageurl)
218   {
2190    MapScriptJNI.set_webObj_imageurl(swigCPtr, imageurl);
2200  }
221  
222   /**
223    * DOCUMENT ME!
224    *
225    * @return RETURN
226    *
227    * @todo METHOD_DESCRIPTION
228    */
229   public String getImageurl()
230   {
2310    return MapScriptJNI.get_webObj_imageurl(swigCPtr);
232   }
233  
234   /**
235    * DOCUMENT ME!
236    *
237    * @param log PARAMETER
238    *
239    * @todo METHOD_DESCRIPTION
240    */
241   public void setLog(String log)
242   {
2430    MapScriptJNI.set_webObj_log(swigCPtr, log);
2440  }
245  
246   /**
247    * DOCUMENT ME!
248    *
249    * @return RETURN
250    *
251    * @todo METHOD_DESCRIPTION
252    */
253   public String getLog()
254   {
2550    return MapScriptJNI.get_webObj_log(swigCPtr);
256   }
257  
258   /**
259    * DOCUMENT ME!
260    *
261    * @param maxscale PARAMETER
262    *
263    * @todo METHOD_DESCRIPTION
264    */
265   public void setMaxscale(double maxscale)
266   {
2670    MapScriptJNI.set_webObj_maxscale(swigCPtr, maxscale);
2680  }
269  
270   /**
271    * DOCUMENT ME!
272    *
273    * @return RETURN
274    *
275    * @todo METHOD_DESCRIPTION
276    */
277   public double getMaxscale()
278   {
2790    return MapScriptJNI.get_webObj_maxscale(swigCPtr);
280   }
281  
282   /**
283    * DOCUMENT ME!
284    *
285    * @param maxtemplate PARAMETER
286    *
287    * @todo METHOD_DESCRIPTION
288    */
289   public void setMaxtemplate(String maxtemplate)
290   {
2910    MapScriptJNI.set_webObj_maxtemplate(swigCPtr, maxtemplate);
2920  }
293  
294   /**
295    * DOCUMENT ME!
296    *
297    * @return RETURN
298    *
299    * @todo METHOD_DESCRIPTION
300    */
301   public String getMaxtemplate()
302   {
3030    return MapScriptJNI.get_webObj_maxtemplate(swigCPtr);
304   }
305  
306   /**
307    * DOCUMENT ME!
308    *
309    * @param minscale PARAMETER
310    *
311    * @todo METHOD_DESCRIPTION
312    */
313   public void setMinscale(double minscale)
314   {
3150    MapScriptJNI.set_webObj_minscale(swigCPtr, minscale);
3160  }
317  
318   /**
319    * DOCUMENT ME!
320    *
321    * @return RETURN
322    *
323    * @todo METHOD_DESCRIPTION
324    */
325   public double getMinscale()
326   {
3270    return MapScriptJNI.get_webObj_minscale(swigCPtr);
328   }
329  
330   /**
331    * DOCUMENT ME!
332    *
333    * @param mintemplate PARAMETER
334    *
335    * @todo METHOD_DESCRIPTION
336    */
337   public void setMintemplate(String mintemplate)
338   {
3390    MapScriptJNI.set_webObj_mintemplate(swigCPtr, mintemplate);
3400  }
341  
342   /**
343    * DOCUMENT ME!
344    *
345    * @return RETURN
346    *
347    * @todo METHOD_DESCRIPTION
348    */
349   public String getMintemplate()
350   {
3510    return MapScriptJNI.get_webObj_mintemplate(swigCPtr);
352   }
353  
354   /**
355    * DOCUMENT ME!
356    *
357    * @param template PARAMETER
358    *
359    * @todo METHOD_DESCRIPTION
360    */
361   public void setTemplate(String template)
362   {
3630    MapScriptJNI.set_webObj_template(swigCPtr, template);
3640  }
365  
366   /**
367    * DOCUMENT ME!
368    *
369    * @return RETURN
370    *
371    * @todo METHOD_DESCRIPTION
372    */
373   public String getTemplate()
374   {
3750    return MapScriptJNI.get_webObj_template(swigCPtr);
376   }
377  
378   /**
379    * DOCUMENT ME!
380    *
381    * @todo METHOD_DESCRIPTION
382    */
383   public void delete()
384   {
3850    if ((swigCPtr != 0) && swigCMemOwn)
386     {
3870      MapScriptJNI.delete_webObj(swigCPtr);
3880      swigCMemOwn = false;
389     }
390  
3910    swigCPtr = 0;
3920  }
393  
394   /**
395    * DOCUMENT ME!
396    *
397    * @param obj PARAMETER
398    *
399    * @return RETURN
400    *
401    * @todo METHOD_DESCRIPTION
402    */
403   public boolean equals(Object obj)
404   {
4050    boolean equal = false;
406  
4070    if (obj instanceof webObj)
408     {
4090      equal = (((webObj) obj).swigCPtr == this.swigCPtr);
410     }
411  
4120    return equal;
413   }
414  
415   /**
416    * DOCUMENT ME!
417    *
418    * @param obj PARAMETER
419    *
420    * @return RETURN
421    *
422    * @todo METHOD_DESCRIPTION
423    */
424   protected static long getCPtr(webObj obj)
425   {
4260    return obj.swigCPtr;
427   }
428  
429   /**
430    * DOCUMENT ME!
431    *
432    * @todo METHOD_DESCRIPTION
433    */
434   protected void finalize()
435   {
4360    delete();
4370  }
438 }

this report was generated by version 1.0.2 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.