comparison flys-artifacts/src/main/java/de/intevation/flys/exports/OutGenerator.java @ 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 59622ba800c8
children 0318fa6f0844
comparison
equal deleted inserted replaced
1978:4c10a4cb978f 1979:a7c437c9547e
4 import java.io.OutputStream; 4 import java.io.OutputStream;
5 5
6 import org.w3c.dom.Document; 6 import org.w3c.dom.Document;
7 7
8 import de.intevation.artifactdatabase.state.ArtifactAndFacet; 8 import de.intevation.artifactdatabase.state.ArtifactAndFacet;
9 import de.intevation.artifactdatabase.state.Settings;
9 import de.intevation.artifacts.Artifact; 10 import de.intevation.artifacts.Artifact;
10 import de.intevation.artifacts.CallContext; 11 import de.intevation.artifacts.CallContext;
11 12
12 13
13 /** 14 /**
52 * Writes the collected output of all artifacts specified in the 53 * Writes the collected output of all artifacts specified in the
53 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see 54 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see
54 * init()). 55 * init()).
55 */ 56 */
56 void generate() throws IOException; 57 void generate() throws IOException;
58
59 /**
60 * Returns the Settings for the Output produced by this OutGenerator.
61 *
62 * @return the Settings for the Output produced by this OutGenerator.
63 */
64 Settings getSettings();
57 } 65 }
58 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 66 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org