Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java Wed Nov 23 09:45:22 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/WMSLayer.java Mon Nov 28 15:55:26 2011 +0000 @@ -11,6 +11,7 @@ protected String name; protected String title; + protected List<String> srs; protected List<WMSLayer> layers; @@ -29,11 +30,13 @@ String server, String title, String name, + List<String> srs, List<WMSLayer> layers ) { this.server = server; this.title = title; this.name = name; + this.srs = srs; this.layers = layers; } @@ -53,6 +56,11 @@ } + public List<String> getSrs() { + return srs; + } + + public List<WMSLayer> getLayers() { return layers; }