Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java @ 1070:b1ed0ec0236f
Smaller Cosmetics.
flys-artifacts/trunk@2554 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 24 Aug 2011 11:38:30 +0000 |
parents | a63d79107289 |
children | 26e19cdaed5e |
comparison
equal
deleted
inserted
replaced
1069:28ea1e8a5f46 | 1070:b1ed0ec0236f |
---|---|
40 | 40 |
41 private static enum DistanceFilter { | 41 private static enum DistanceFilter { |
42 NONE, LOCATIONS, DISTANCES | 42 NONE, LOCATIONS, DISTANCES |
43 } | 43 } |
44 | 44 |
45 /** The logger used in this service.*/ | 45 /** The logger used in this service. */ |
46 private static Logger logger = Logger.getLogger(DistanceInfoService.class); | 46 private static Logger logger = Logger.getLogger(DistanceInfoService.class); |
47 | 47 |
48 public static final String CACHE_NAME = "service-distanceinfo"; | 48 public static final String CACHE_NAME = "service-distanceinfo"; |
49 | 49 |
50 public static final String RIVER_XPATH = "/art:river/text()"; | 50 public static final String RIVER_XPATH = "/art:river/text()"; |
165 return DistanceFilter.NONE; | 165 return DistanceFilter.NONE; |
166 } | 166 } |
167 | 167 |
168 | 168 |
169 /** | 169 /** |
170 * This method build an Element for a distance info. | 170 * Builds an Element for a distance info. |
171 * | 171 * |
172 * @param ec The ElementCreator. | |
173 * @param anno The Annotation that provides information about the distance. | 172 * @param anno The Annotation that provides information about the distance. |
174 * | 173 * |
175 * @return an Element that contains information about a distance. | 174 * @return an Element that contains information about a distance. |
176 */ | 175 */ |
177 protected static Element buildDistanceNode( | 176 protected static Element buildDistanceNode( |