Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/AnnotationArtifact.java @ 5865:73da40528cf2
River artifacts: Renamed FLYSUtils to RiverUtils.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:09:31 +0200 |
parents | 4897a58c8746 |
children | 9a6741ccf6d4 |
comparison
equal
deleted
inserted
replaced
5864:f2e46a668fe6 | 5865:73da40528cf2 |
---|---|
34 import org.dive4elements.artifacts.common.utils.XMLUtils; | 34 import org.dive4elements.artifacts.common.utils.XMLUtils; |
35 | 35 |
36 import org.dive4elements.river.artifacts.states.DefaultState; | 36 import org.dive4elements.river.artifacts.states.DefaultState; |
37 import org.dive4elements.river.artifacts.context.FLYSContext; | 37 import org.dive4elements.river.artifacts.context.FLYSContext; |
38 | 38 |
39 import org.dive4elements.river.utils.FLYSUtils; | 39 import org.dive4elements.river.utils.RiverUtils; |
40 | 40 |
41 /** | 41 /** |
42 * Artifact to access names of Points Of Interest along a segment of a river. | 42 * Artifact to access names of Points Of Interest along a segment of a river. |
43 */ | 43 */ |
44 public class AnnotationArtifact | 44 public class AnnotationArtifact |
205 Element outs, | 205 Element outs, |
206 CallContext context) | 206 CallContext context) |
207 { | 207 { |
208 List<String> stateIds = getPreviousStateIds(); | 208 List<String> stateIds = getPreviousStateIds(); |
209 | 209 |
210 FLYSContext flysContext = FLYSUtils.getFlysContext(context); | 210 FLYSContext flysContext = RiverUtils.getFlysContext(context); |
211 StateEngine engine = (StateEngine) flysContext.get( | 211 StateEngine engine = (StateEngine) flysContext.get( |
212 FLYSContext.STATE_ENGINE_KEY); | 212 FLYSContext.STATE_ENGINE_KEY); |
213 | 213 |
214 for (String stateId: stateIds) { | 214 for (String stateId: stateIds) { |
215 logger.debug("Append output modes for state: " + stateId); | 215 logger.debug("Append output modes for state: " + stateId); |