Mercurial > dive4elements > river
comparison artifacts/doc/conf/generators/discharge-diagrams.xml @ 8349:7341bebc79d0
Let injectors be strictly distinct from each other and give more meaningful names (they know what they do, not where they will be used. The latter is configuration).
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 01 Oct 2014 12:23:39 +0200 |
parents | 3c534a1bcf8e |
children | 427a813b1791 e15d2fc7aab4 |
comparison
equal
deleted
inserted
replaced
8348:dc3f55141299 | 8349:7341bebc79d0 |
---|---|
2 <discharge-diagrams> | 2 <discharge-diagrams> |
3 | 3 |
4 <output-generator names="historical_discharge_wq,historical_discharge_wq_chartinfo" | 4 <output-generator names="historical_discharge_wq,historical_discharge_wq_chartinfo" |
5 class="org.dive4elements.river.exports.DischargeGenerator" | 5 class="org.dive4elements.river.exports.DischargeGenerator" |
6 converter="org.dive4elements.river.exports.DiagramAttributes" | 6 converter="org.dive4elements.river.exports.DiagramAttributes" |
7 injectors="org.dive4elements.river.exports.injector.HistoricalDischargeInjector,org.dive4elements.river.exports.injector.PNPInjector"> | 7 injectors="org.dive4elements.river.exports.injector.KmFromGaugeNumberInjector.java,org.dive4elements.river.exports.injector.PNPInjector"> |
8 <title key="chart.historical.discharge.title" default="chart.historical.discharge.title"/> | 8 <title key="chart.historical.discharge.title" default="chart.historical.discharge.title"/> |
9 &discharge-defaults; | 9 &discharge-defaults; |
10 </output-generator> | 10 </output-generator> |
11 | 11 |
12 <output-generator names="computed_discharge_curve_chartinfo,computed_discharge_curve" | 12 <output-generator names="computed_discharge_curve_chartinfo,computed_discharge_curve" |
13 class="org.dive4elements.river.exports.DischargeGenerator" | 13 class="org.dive4elements.river.exports.DischargeGenerator" |
14 converter="org.dive4elements.river.exports.DiagramAttributes" | 14 converter="org.dive4elements.river.exports.DiagramAttributes" |
15 injectors="org.dive4elements.river.exports.injector.ComputedDischargeInjector,org.dive4elements.river.exports.injector.PNPInjector"> | 15 injectors="org.dive4elements.river.exports.injector.KmFromLocationInjector,org.dive4elements.river.exports.injector.PNPInjector"> |
16 <title key="chart.computed.discharge.curve.title" default="chart.computed.discharge.curve.title"/> | 16 <title key="chart.computed.discharge.curve.title" default="chart.computed.discharge.curve.title"/> |
17 <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> | 17 <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> |
18 <arg expr="artifact.river"/> | 18 <arg expr="artifact.river"/> |
19 <arg expr="artifact.ld_locations" type="double"/> | 19 <arg expr="artifact.ld_locations" type="double"/> |
20 </subtitle> | 20 </subtitle> |
22 </output-generator> | 22 </output-generator> |
23 | 23 |
24 <output-generator names="discharge_curve_chartinfo,discharge_curve" | 24 <output-generator names="discharge_curve_chartinfo,discharge_curve" |
25 class="org.dive4elements.river.exports.DischargeGenerator" | 25 class="org.dive4elements.river.exports.DischargeGenerator" |
26 converter="org.dive4elements.river.exports.DiagramAttributes" | 26 converter="org.dive4elements.river.exports.DiagramAttributes" |
27 injectors="org.dive4elements.river.exports.injector.DischargeInjector,org.dive4elements.river.exports.injector.PNPInjector"> | 27 injectors="org.dive4elements.river.exports.injector.KmFromGaugeNameInjector,org.dive4elements.river.exports.injector.PNPInjector"> |
28 <title key="chart.discharge.curve.title" default="chart.discharge.curve.title"/> | 28 <title key="chart.discharge.curve.title" default="chart.discharge.curve.title"/> |
29 <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> | 29 <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> |
30 <arg expr="artifact.river"/> | 30 <arg expr="artifact.river"/> |
31 <arg expr="artifact.ld_locations" type="double"/> | 31 <arg expr="artifact.ld_locations" type="double"/> |
32 </subtitle> | 32 </subtitle> |
34 </output-generator> | 34 </output-generator> |
35 | 35 |
36 <output-generator names="fix_wq_curve,fix_wq_curve_chartinfo" | 36 <output-generator names="fix_wq_curve,fix_wq_curve_chartinfo" |
37 class="org.dive4elements.river.exports.DischargeGenerator" | 37 class="org.dive4elements.river.exports.DischargeGenerator" |
38 converter="org.dive4elements.river.exports.DiagramAttributes" | 38 converter="org.dive4elements.river.exports.DiagramAttributes" |
39 injectors="org.dive4elements.river.exports.injector.FixWQInjector,org.dive4elements.river.exports.injector.PNPInjector"> | 39 injectors="org.dive4elements.river.exports.injector.KmFromRequestInjector,org.dive4elements.river.exports.injector.PNPInjector"> |
40 <title key="chart.fixings.discharge.curve.title" default="Fixierungsanalyse W/Q"/> | 40 <title key="chart.fixings.discharge.curve.title" default="Fixierungsanalyse W/Q"/> |
41 <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> | 41 <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> |
42 <arg expr="artifact.river"/> | 42 <arg expr="artifact.river"/> |
43 <arg expr="artifact.ld_locations" type="double"/> | 43 <arg expr="artifact.ld_locations" type="double"/> |
44 </subtitle> | 44 </subtitle> |