Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/process/WOutProcessor.java @ 5800:397ff862b417
WOutProcessor: Renaming, doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 24 Apr 2013 08:24:56 +0200 |
parents | 547041487266 |
children |
comparison
equal
deleted
inserted
replaced
5799:5a2c7d24fd29 | 5800:397ff862b417 |
---|---|
14 import de.intevation.flys.jfree.StyledXYSeries; | 14 import de.intevation.flys.jfree.StyledXYSeries; |
15 import de.intevation.flys.utils.DataUtil; | 15 import de.intevation.flys.utils.DataUtil; |
16 import de.intevation.flys.utils.ThemeUtil; | 16 import de.intevation.flys.utils.ThemeUtil; |
17 | 17 |
18 /** | 18 /** |
19 * Add data to chart/generator. | |
20 * | |
19 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> | 21 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a> |
20 */ | 22 */ |
21 public class WOutProcessor implements Processor { | 23 public class WOutProcessor implements Processor { |
22 | 24 |
25 /** Private logger. */ | |
23 private static final Logger logger = | 26 private static final Logger logger = |
24 Logger.getLogger(WOutProcessor.class); | 27 Logger.getLogger(WOutProcessor.class); |
25 | 28 |
26 @Override | 29 @Override |
27 public void doOut( | 30 public void doOut( |
63 | 66 |
64 /** | 67 /** |
65 * Returns true if facettype is longitutinal_section.w . | 68 * Returns true if facettype is longitutinal_section.w . |
66 */ | 69 */ |
67 @Override | 70 @Override |
68 public boolean canHandle(String facettype) { | 71 public boolean canHandle(String facetType) { |
69 if (facettype == null) { | 72 if (facetType == null) { |
70 return false; | 73 return false; |
71 } | 74 } |
72 | 75 |
73 if (facettype.equals(FacetTypes.LONGITUDINAL_W) | 76 if (facetType.equals(FacetTypes.LONGITUDINAL_W) |
74 || facettype.equals(FacetTypes.STATIC_WKMS) | 77 || facetType.equals(FacetTypes.STATIC_WKMS) |
75 || facettype.equals(FacetTypes.HEIGHTMARKS_POINTS) | 78 || facetType.equals(FacetTypes.HEIGHTMARKS_POINTS) |
76 || facettype.equals(FacetTypes.STATIC_WQKMS) | 79 || facetType.equals(FacetTypes.STATIC_WQKMS) |
77 || facettype.equals(FacetTypes.STATIC_WQKMS_W) | 80 || facetType.equals(FacetTypes.STATIC_WQKMS_W) |
78 || facettype.equals(FacetTypes.DISCHARGE_LONGITUDINAL_W)) | 81 || facetType.equals(FacetTypes.DISCHARGE_LONGITUDINAL_W)) |
79 { | 82 { |
80 return true; | 83 return true; |
81 } | 84 } |
82 return false; | 85 return false; |
83 } | 86 } |