comparison flys-artifacts/ChangeLog @ 1979:a7c437c9547e

Added a getSettings() operation to OutGenerator - FLYSArtifactCollection will now evaluate all available Outputs and create initial Settings using OutGenerators if the Settings for an Output is missing. flys-artifacts/trunk@3409 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 14 Dec 2011 10:20:56 +0000
parents 4c10a4cb978f
children d377b89d2827
comparison
equal deleted inserted replaced
1978:4c10a4cb978f 1979:a7c437c9547e
1 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
2
3 * src/main/java/de/intevation/flys/exports/EmptySettings.java: An
4 implementation of the Settings interface defined in the artifact-database
5 module. This implementation accepts no Section objects at all and creates
6 an empty "settings" Node in its toXML() operation.
7
8 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Defined a new
9 method getSettings() that returns a Settings instance.
10
11 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
12 src/main/java/de/intevation/flys/exports/ReportGenerator.java,
13 src/main/java/de/intevation/flys/exports/MapGenerator.java,
14 src/main/java/de/intevation/flys/exports/AbstractExporter.java,
15 src/main/java/de/intevation/flys/exports/ATExporter.java,
16 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
17 Implemented the getSettings() operation. All OutGenerators will currently
18 return an instance of EmptySettings.
19
20 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
21 Before the DESCRIBE document is created, we gonna evaluate each Output
22 defined in the Collection's attribute document, if it has a Settings
23 object set. If this is not the case, the relevant OutGenerator is called
24 to retrieve a new instance of Settings.
25
26 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java:
27 Append the Settings of Outputs to the Output nodes in the XML
28 representation.
29
1 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> 30 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2 31
3 Recommend cross-sections. 32 Recommend cross-sections.
4 33
5 * doc/conf/meta-data.xml: When having a cross-section out, recommend 34 * doc/conf/meta-data.xml: When having a cross-section out, recommend

http://dive4elements.wald.intevation.org