comparison artifacts/src/main/java/org/dive4elements/river/themes/ThemeFactory.java @ 5867:59ff03ff48f1

River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 15:23:01 +0200
parents 9a6741ccf6d4
children af13ceeba52a
comparison
equal deleted inserted replaced
5866:9a6741ccf6d4 5867:59ff03ff48f1
7 */ 7 */
8 8
9 package org.dive4elements.river.themes; 9 package org.dive4elements.river.themes;
10 10
11 import org.dive4elements.artifacts.common.utils.XMLUtils; 11 import org.dive4elements.artifacts.common.utils.XMLUtils;
12 import org.dive4elements.river.artifacts.FLYSArtifact; 12 import org.dive4elements.river.artifacts.D4EArtifact;
13 import org.dive4elements.river.artifacts.context.RiverContext; 13 import org.dive4elements.river.artifacts.context.RiverContext;
14 14
15 import java.util.ArrayList; 15 import java.util.ArrayList;
16 import java.util.HashMap; 16 import java.util.HashMap;
17 import java.util.List; 17 import java.util.List;
114 return null; 114 return null;
115 } 115 }
116 116
117 Map<String, Theme> t = group.getThemes(); 117 Map<String, Theme> t = group.getThemes();
118 118
119 FLYSArtifact artifact = (FLYSArtifact) c.get(RiverContext.ARTIFACT_KEY); 119 D4EArtifact artifact = (D4EArtifact) c.get(RiverContext.ARTIFACT_KEY);
120 120
121 if (map == null || map.isEmpty() || t == null || t.isEmpty()) { 121 if (map == null || map.isEmpty() || t == null || t.isEmpty()) {
122 logger.warn("No mappings or themes found. Cannot retrieve theme!"); 122 logger.warn("No mappings or themes found. Cannot retrieve theme!");
123 return null; 123 return null;
124 } 124 }

http://dive4elements.wald.intevation.org