Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/DeltaWProcessor.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | d13398318b11 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
33 public class DeltaWProcessor extends DefaultProcessor { | 33 public class DeltaWProcessor extends DefaultProcessor { |
34 /* This is basically a collection of different processors. The | 34 /* This is basically a collection of different processors. The |
35 * historic reason for this is that they have in common that they | 35 * historic reason for this is that they have in common that they |
36 * work on deltaW data from the fixing analysis. */ | 36 * work on deltaW data from the fixing analysis. */ |
37 | 37 |
38 private static final Logger logger = Logger.getLogger(DeltaWProcessor.class); | 38 private static final Logger log = Logger.getLogger(DeltaWProcessor.class); |
39 | 39 |
40 public static final String I18N_DW_YAXIS_LABEL_DEFAULT = | 40 public static final String I18N_DW_YAXIS_LABEL_DEFAULT = |
41 "delta W [cm]"; | 41 "delta W [cm]"; |
42 | 42 |
43 public static final String I18N_DW_YAXIS_LABEL = | 43 public static final String I18N_DW_YAXIS_LABEL = |
51 boolean visible) { | 51 boolean visible) { |
52 String facettype = bundle.getFacetName(); | 52 String facettype = bundle.getFacetName(); |
53 if (!visible) { | 53 if (!visible) { |
54 return; | 54 return; |
55 } | 55 } |
56 logger.debug("Doing out for: " + bundle.getFacetName()); | 56 log.debug("Doing out for: " + bundle.getFacetName()); |
57 if (facettype.equals(FacetTypes.FIX_REFERENCE_EVENTS_LS)) { | 57 if (facettype.equals(FacetTypes.FIX_REFERENCE_EVENTS_LS)) { |
58 doReferenceEventsOut(generator, bundle, theme, visible); | 58 doReferenceEventsOut(generator, bundle, theme, visible); |
59 } else if (facettype.equals(FacetTypes.FIX_ANALYSIS_EVENTS_LS)) { | 59 } else if (facettype.equals(FacetTypes.FIX_ANALYSIS_EVENTS_LS)) { |
60 doAnalysisEventsOut(generator, bundle, theme, visible); | 60 doAnalysisEventsOut(generator, bundle, theme, visible); |
61 } else if (facettype.startsWith(FacetTypes.FIX_SECTOR_AVERAGE_LS_DEVIATION)) { | 61 } else if (facettype.startsWith(FacetTypes.FIX_SECTOR_AVERAGE_LS_DEVIATION)) { |
63 } else if (facettype.equals(FacetTypes.FIX_DEVIATION_LS)) { | 63 } else if (facettype.equals(FacetTypes.FIX_DEVIATION_LS)) { |
64 doReferenceDeviationOut(generator, bundle, theme, visible); | 64 doReferenceDeviationOut(generator, bundle, theme, visible); |
65 } else if (facettype.startsWith(FacetTypes.FIX_SECTOR_AVERAGE_LS)) { | 65 } else if (facettype.startsWith(FacetTypes.FIX_SECTOR_AVERAGE_LS)) { |
66 doSectorAverageOut(generator, bundle, theme, visible); | 66 doSectorAverageOut(generator, bundle, theme, visible); |
67 } else { | 67 } else { |
68 logger.error("Could not handle: " + facettype); | 68 log.error("Could not handle: " + facettype); |
69 } | 69 } |
70 } | 70 } |
71 | 71 |
72 @Override | 72 @Override |
73 public boolean canHandle(String facettype) { | 73 public boolean canHandle(String facettype) { |