comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java @ 1417:42d6cf6e10b7

Moved code to parse WMS Capabilities to an own class 'CapabilitiesParser' and added code to parse SRS definitions. flys-client/trunk@3325 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 28 Nov 2011 15:55:26 +0000
parents 3484cbfaf369
children 750a53950e9f
comparison
equal deleted inserted replaced
1416:16f19f12a962 1417:42d6cf6e10b7
9 9
10 protected String server; 10 protected String server;
11 protected String name; 11 protected String name;
12 protected String title; 12 protected String title;
13 13
14 protected List<String> srs;
14 protected List<WMSLayer> layers; 15 protected List<WMSLayer> layers;
15 16
16 17
17 public WMSLayer() { 18 public WMSLayer() {
18 layers = new ArrayList<WMSLayer>(); 19 layers = new ArrayList<WMSLayer>();
27 */ 28 */
28 public WMSLayer( 29 public WMSLayer(
29 String server, 30 String server,
30 String title, 31 String title,
31 String name, 32 String name,
33 List<String> srs,
32 List<WMSLayer> layers 34 List<WMSLayer> layers
33 ) { 35 ) {
34 this.server = server; 36 this.server = server;
35 this.title = title; 37 this.title = title;
36 this.name = name; 38 this.name = name;
39 this.srs = srs;
37 this.layers = layers; 40 this.layers = layers;
38 } 41 }
39 42
40 43
41 public String getServer() { 44 public String getServer() {
51 public String getTitle() { 54 public String getTitle() {
52 return title; 55 return title;
53 } 56 }
54 57
55 58
59 public List<String> getSrs() {
60 return srs;
61 }
62
63
56 public List<WMSLayer> getLayers() { 64 public List<WMSLayer> getLayers() {
57 return layers; 65 return layers;
58 } 66 }
59 } 67 }
60 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 68 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org