Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/OutGenerator.java @ 695:45cd58a2a2bb facets-slt
OutGenerators doOut() takes a facet object now instead of just its name.
flys-artifacts/branches/facets-slt@2137 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 16 Jun 2011 14:31:41 +0000 |
parents | 046bd86ae41d |
children | bdb05dc9b763 |
comparison
equal
deleted
inserted
replaced
694:68c6c75a6f7c | 695:45cd58a2a2bb |
---|---|
5 | 5 |
6 import org.w3c.dom.Document; | 6 import org.w3c.dom.Document; |
7 | 7 |
8 import de.intevation.artifacts.Artifact; | 8 import de.intevation.artifacts.Artifact; |
9 import de.intevation.artifacts.CallContext; | 9 import de.intevation.artifacts.CallContext; |
10 | |
11 import de.intevation.artifactdatabase.state.Facet; | |
10 | 12 |
11 | 13 |
12 /** | 14 /** |
13 * An OutGenerator is used to create a collected outputs of a list of Artifacts. | 15 * An OutGenerator is used to create a collected outputs of a list of Artifacts. |
14 * | 16 * |
42 * @param artifact The artifact that provides information and data for the | 44 * @param artifact The artifact that provides information and data for the |
43 * single output. | 45 * single output. |
44 * @param attr A document that might contain some attributes used while | 46 * @param attr A document that might contain some attributes used while |
45 * producing the output. | 47 * producing the output. |
46 */ | 48 */ |
47 void doOut(Artifact artifact, String facet, Document attr); | 49 void doOut(Artifact artifact, Facet facet, Document attr); |
48 | 50 |
49 /** | 51 /** |
50 * Writes the collected output of all artifacts specified in the | 52 * Writes the collected output of all artifacts specified in the |
51 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see | 53 * <i>request</i> (see init()) document to the OutputStream <i>out</i> (see |
52 * init()). | 54 * init()). |