Revision 8844
trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/model/InfoService.java | ||
---|---|---|
1 |
package com.iver.cit.gvsig.publish.model; |
|
2 |
|
|
3 |
import java.awt.geom.Rectangle2D; |
|
4 |
import java.net.URL; |
|
5 |
import java.util.ArrayList; |
|
6 |
|
|
7 |
import com.iver.utiles.Utils; |
|
8 |
|
|
9 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
10 |
* |
|
11 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or |
|
14 |
* modify it under the terms of the GNU General Public License |
|
15 |
* as published by the Free Software Foundation; either version 2 |
|
16 |
* of the License, or (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
26 |
* |
|
27 |
* For more information, contact: |
|
28 |
* |
|
29 |
* Generalitat Valenciana |
|
30 |
* Conselleria d'Infraestructures i Transport |
|
31 |
* Av. Blasco Ib??ez, 50 |
|
32 |
* 46010 VALENCIA |
|
33 |
* SPAIN |
|
34 |
* |
|
35 |
* +34 963862235 |
|
36 |
* gvsig@gva.es |
|
37 |
* www.gvsig.gva.es |
|
38 |
* |
|
39 |
* or |
|
40 |
* |
|
41 |
* IVER T.I. S.A |
|
42 |
* Salamanca 50 |
|
43 |
* 46005 Valencia |
|
44 |
* Spain |
|
45 |
* |
|
46 |
* +34 963163400 |
|
47 |
* dac@iver.es |
|
48 |
*/ |
|
49 |
/* CVS MESSAGES: |
|
50 |
* |
|
51 |
* $Id$ |
|
52 |
* $Log$ |
|
53 |
* Revision 1.1 2006-11-17 09:48:36 jvhigon |
|
54 |
* Modelo de servicios OGC |
|
55 |
* |
|
56 |
* |
|
57 |
*/ |
|
58 |
/** |
|
59 |
* Represents a OGC service |
|
60 |
* @author Jos? Vicente Hig?n (higon_jos@gva.es) |
|
61 |
*/ |
|
62 |
public class InfoService { |
|
63 |
String ows_name = null; |
|
64 |
String ows_title = null; |
|
65 |
String ows_abstract = null; |
|
66 |
URL ows_onlineresource = null; |
|
67 |
Rectangle2D ows_extent = null; |
|
68 |
ArrayList children = null; |
|
69 |
|
|
70 |
public InfoService() { |
|
71 |
children = new ArrayList(); |
|
72 |
} |
|
73 |
|
|
74 |
public ArrayList getChildren() { |
|
75 |
return children; |
|
76 |
} |
|
77 |
|
|
78 |
public void setChildren(ArrayList children) { |
|
79 |
this.children = children; |
|
80 |
} |
|
81 |
|
|
82 |
public String getOws_abstract() { |
|
83 |
return ows_abstract; |
|
84 |
} |
|
85 |
|
|
86 |
public void setOws_abstract(String ows_abstract) { |
|
87 |
this.ows_abstract = ows_abstract; |
|
88 |
} |
|
89 |
|
|
90 |
public Rectangle2D getOws_extent() { |
|
91 |
return ows_extent; |
|
92 |
} |
|
93 |
|
|
94 |
public void setOws_extent(Rectangle2D ows_extent) { |
|
95 |
this.ows_extent = ows_extent; |
|
96 |
} |
|
97 |
|
|
98 |
public String getOws_name() { |
|
99 |
return ows_name; |
|
100 |
} |
|
101 |
|
|
102 |
public void setOws_name(String ows_name) { |
|
103 |
this.ows_name = ows_name; |
|
104 |
} |
|
105 |
|
|
106 |
public URL getOws_onlineresource() { |
|
107 |
return ows_onlineresource; |
|
108 |
} |
|
109 |
|
|
110 |
public void setOws_onlineresource(URL ows_onlineresource) { |
|
111 |
this.ows_onlineresource = ows_onlineresource; |
|
112 |
} |
|
113 |
|
|
114 |
public String getOws_title() { |
|
115 |
return ows_title; |
|
116 |
} |
|
117 |
|
|
118 |
public void setOws_title(String ows_title) { |
|
119 |
this.ows_title = ows_title; |
|
120 |
} |
|
121 |
} |
|
0 | 122 |
trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/model/InfoWMSLayer.java | ||
---|---|---|
1 |
package com.iver.cit.gvsig.publish.model; |
|
2 |
|
|
3 |
import java.awt.geom.Rectangle2D; |
|
4 |
|
|
5 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
6 |
* |
|
7 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
8 |
* |
|
9 |
* This program is free software; you can redistribute it and/or |
|
10 |
* modify it under the terms of the GNU General Public License |
|
11 |
* as published by the Free Software Foundation; either version 2 |
|
12 |
* of the License, or (at your option) any later version. |
|
13 |
* |
|
14 |
* This program is distributed in the hope that it will be useful, |
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
17 |
* GNU General Public License for more details. |
|
18 |
* |
|
19 |
* You should have received a copy of the GNU General Public License |
|
20 |
* along with this program; if not, write to the Free Software |
|
21 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
22 |
* |
|
23 |
* For more information, contact: |
|
24 |
* |
|
25 |
* Generalitat Valenciana |
|
26 |
* Conselleria d'Infraestructures i Transport |
|
27 |
* Av. Blasco Ib??ez, 50 |
|
28 |
* 46010 VALENCIA |
|
29 |
* SPAIN |
|
30 |
* |
|
31 |
* +34 963862235 |
|
32 |
* gvsig@gva.es |
|
33 |
* www.gvsig.gva.es |
|
34 |
* |
|
35 |
* or |
|
36 |
* |
|
37 |
* IVER T.I. S.A |
|
38 |
* Salamanca 50 |
|
39 |
* 46005 Valencia |
|
40 |
* Spain |
|
41 |
* |
|
42 |
* +34 963163400 |
|
43 |
* dac@iver.es |
|
44 |
*/ |
|
45 |
/* CVS MESSAGES: |
|
46 |
* |
|
47 |
* $Id$ |
|
48 |
* $Log$ |
|
49 |
* Revision 1.1 2006-11-17 09:48:36 jvhigon |
|
50 |
* Modelo de servicios OGC |
|
51 |
* |
|
52 |
* |
|
53 |
*/ |
|
54 |
/** |
|
55 |
* @author Jos? Vicente Hig?n (higon_jos@gva.es) |
|
56 |
*/ |
|
57 |
public class InfoWMSLayer { |
|
58 |
String wms_name = null; |
|
59 |
String wms_title = null; |
|
60 |
String wms_abstract = null; |
|
61 |
String wms_srs = null; |
|
62 |
Rectangle2D wms_extent = null; |
|
63 |
InfoWMSLayerStyle [] wms_style = null; |
|
64 |
|
|
65 |
} |
|
0 | 66 |
trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/model/InfoWMSLayerStyle.java | ||
---|---|---|
1 |
package com.iver.cit.gvsig.publish.model; |
|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
3 |
* |
|
4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
19 |
* |
|
20 |
* For more information, contact: |
|
21 |
* |
|
22 |
* Generalitat Valenciana |
|
23 |
* Conselleria d'Infraestructures i Transport |
|
24 |
* Av. Blasco Ib??ez, 50 |
|
25 |
* 46010 VALENCIA |
|
26 |
* SPAIN |
|
27 |
* |
|
28 |
* +34 963862235 |
|
29 |
* gvsig@gva.es |
|
30 |
* www.gvsig.gva.es |
|
31 |
* |
|
32 |
* or |
|
33 |
* |
|
34 |
* IVER T.I. S.A |
|
35 |
* Salamanca 50 |
|
36 |
* 46005 Valencia |
|
37 |
* Spain |
|
38 |
* |
|
39 |
* +34 963163400 |
|
40 |
* dac@iver.es |
|
41 |
*/ |
|
42 |
/* CVS MESSAGES: |
|
43 |
* |
|
44 |
* $Id$ |
|
45 |
* $Log$ |
|
46 |
* Revision 1.1 2006-11-17 09:48:36 jvhigon |
|
47 |
* Modelo de servicios OGC |
|
48 |
* |
|
49 |
* |
|
50 |
*/ |
|
51 |
/** |
|
52 |
* @author Jos? Vicente Hig?n (higon_jos@gva.es) |
|
53 |
*/ |
|
54 |
public class InfoWMSLayerStyle { |
|
55 |
String name = null; |
|
56 |
|
|
57 |
} |
|
0 | 58 |
trunk/extensions/extPublish/src/com/iver/cit/gvsig/publish/model/InfoWMSService.java | ||
---|---|---|
1 |
package com.iver.cit.gvsig.publish.model; |
|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
3 |
* |
|
4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
19 |
* |
|
20 |
* For more information, contact: |
|
21 |
* |
|
22 |
* Generalitat Valenciana |
|
23 |
* Conselleria d'Infraestructures i Transport |
|
24 |
* Av. Blasco Ib??ez, 50 |
|
25 |
* 46010 VALENCIA |
|
26 |
* SPAIN |
|
27 |
* |
|
28 |
* +34 963862235 |
|
29 |
* gvsig@gva.es |
|
30 |
* www.gvsig.gva.es |
|
31 |
* |
|
32 |
* or |
|
33 |
* |
|
34 |
* IVER T.I. S.A |
|
35 |
* Salamanca 50 |
|
36 |
* 46005 Valencia |
|
37 |
* Spain |
|
38 |
* |
|
39 |
* +34 963163400 |
|
40 |
* dac@iver.es |
|
41 |
*/ |
|
42 |
/* CVS MESSAGES: |
|
43 |
* |
|
44 |
* $Id$ |
|
45 |
* $Log$ |
|
46 |
* Revision 1.1 2006-11-17 09:48:36 jvhigon |
|
47 |
* Modelo de servicios OGC |
|
48 |
* |
|
49 |
* |
|
50 |
*/ |
|
51 |
/** |
|
52 |
* This class represents a Service WMS. |
|
53 |
* It contains OGC-WMS-1.1.1 parameters. |
|
54 |
* |
|
55 |
* @author Jos? Vicente Hig?n (higon_jos@gva.es) |
|
56 |
*/ |
|
57 |
public class InfoWMSService extends InfoService{ |
|
58 |
private InfoWMSLayer [] layers = null; |
|
59 |
|
|
60 |
|
|
61 |
} |
|
0 | 62 |
Also available in: Unified diff