Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/StyleHelper.java @ 3384:a6b7f0585761
Merge point/line label styles
flys-client/trunk@5133 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Thu, 26 Jul 2012 10:05:50 +0000 |
parents | 6d4a80b668a4 |
children | f53e2e877aa4 |
comparison
equal
deleted
inserted
replaced
3383:dc48bc58102f | 3384:a6b7f0585761 |
---|---|
1 package de.intevation.flys.client.server; | 1 package de.intevation.flys.client.server; |
2 | |
3 import de.intevation.flys.client.shared.model.Style; | |
4 import de.intevation.flys.client.shared.model.StyleSetting; | |
2 | 5 |
3 import org.w3c.dom.Element; | 6 import org.w3c.dom.Element; |
4 import org.w3c.dom.NodeList; | 7 import org.w3c.dom.NodeList; |
5 | 8 |
6 import org.apache.log4j.Logger; | |
7 | |
8 import de.intevation.flys.client.shared.model.Style; | |
9 import de.intevation.flys.client.shared.model.StyleSetting; | |
10 | |
11 | 9 |
12 public class StyleHelper { | 10 public class StyleHelper { |
13 | |
14 private static final Logger logger = Logger.getLogger(StyleHelper.class); | |
15 | |
16 | 11 |
17 public static Style getStyle (Element element) { | 12 public static Style getStyle (Element element) { |
18 if (!element.getTagName().equals("theme")) { | 13 if (!element.getTagName().equals("theme")) { |
19 return null; | 14 return null; |
20 } | 15 } |