Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/OutGenerator.java @ 1944:21a4d2c677a1
Changed doOut signature, side effect from blackboard feature (to come).
flys-artifacts/trunk@3334 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 30 Nov 2011 10:10:42 +0000 |
parents | bdb05dc9b763 |
children | 65f9d707caff |
comparison
equal
deleted
inserted
replaced
1943:06d8d371d244 | 1944:21a4d2c677a1 |
---|---|
3 import java.io.IOException; | 3 import java.io.IOException; |
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.artifacts.Artifact; | 9 import de.intevation.artifacts.Artifact; |
9 import de.intevation.artifacts.CallContext; | 10 import de.intevation.artifacts.CallContext; |
10 | 11 |
11 import de.intevation.artifactdatabase.state.Facet; | 12 import de.intevation.artifactdatabase.state.Facet; |
12 | 13 |
45 * single output. | 46 * single output. |
46 * @param attr A document that might contain some attributes used while | 47 * @param attr A document that might contain some attributes used while |
47 * producing the output. | 48 * producing the output. |
48 * @param visible Specifies, if this output should be visible or not. | 49 * @param visible Specifies, if this output should be visible or not. |
49 */ | 50 */ |
50 void doOut(Artifact artifact, Facet facet, Document attr, boolean visible); | 51 void doOut(ArtifactAndFacet bundle, Document attr, boolean visible); |
51 | 52 |
52 /** | 53 /** |
53 * Writes the collected output of all artifacts specified in the | 54 * Writes the collected output of all artifacts specified in the |
54 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see | 55 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see |
55 * init()). | 56 * init()). |