Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/OutGenerator.java @ 6905:1b35b2ddfc28
Artifacts: Introduce ThemeDocument & make stuff compileable again. THIS BREAKS THE SYSTEM! TODO: Move ThemeUtils into ThemeDocument.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 22 Aug 2013 23:31:38 +0200 |
parents | af13ceeba52a |
children | 5c6fd2c010dd |
comparison
equal
deleted
inserted
replaced
6904:d710bd3df387 | 6905:1b35b2ddfc28 |
---|---|
16 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; | 16 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; |
17 import org.dive4elements.artifactdatabase.state.Settings; | 17 import org.dive4elements.artifactdatabase.state.Settings; |
18 import org.dive4elements.artifacts.Artifact; | 18 import org.dive4elements.artifacts.Artifact; |
19 import org.dive4elements.artifacts.CallContext; | 19 import org.dive4elements.artifacts.CallContext; |
20 import org.dive4elements.river.collections.D4EArtifactCollection; | 20 import org.dive4elements.river.collections.D4EArtifactCollection; |
21 import org.dive4elements.river.themes.ThemeDocument; | |
21 | 22 |
22 | 23 |
23 /** | 24 /** |
24 * An OutGenerator is used to create a collected outputs of a list of Artifacts. | 25 * An OutGenerator is used to create a collected outputs of a list of Artifacts. |
25 * | 26 * |
61 * single output. | 62 * single output. |
62 * @param attr A document that might contain some attributes used while | 63 * @param attr A document that might contain some attributes used while |
63 * producing the output. | 64 * producing the output. |
64 * @param visible Specifies, if this output should be visible or not. | 65 * @param visible Specifies, if this output should be visible or not. |
65 */ | 66 */ |
66 void doOut(ArtifactAndFacet bundle, Document attr, boolean visible); | 67 void doOut(ArtifactAndFacet bundle, ThemeDocument attr, boolean visible); |
67 | 68 |
68 /** | 69 /** |
69 * Writes the collected output of all artifacts specified in the | 70 * Writes the collected output of all artifacts specified in the |
70 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see | 71 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see |
71 * init()). | 72 * init()). |