Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/OutGenerator.java @ 7116:3c7471b929d1
Merge branch generator-refectoring into default.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 24 Sep 2013 12:29:44 +0200 |
parents | 41567bf1e131 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
7095:bdadffad35b1 | 7116:3c7471b929d1 |
---|---|
27 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 27 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
28 */ | 28 */ |
29 public interface OutGenerator { | 29 public interface OutGenerator { |
30 | 30 |
31 /** | 31 /** |
32 * Pre-initialize generator from configuration. | |
33 */ | |
34 void setup(Object config); | |
35 | |
36 /** | |
32 * Initializes the OutGenerator with meta information which are necessary | 37 * Initializes the OutGenerator with meta information which are necessary |
33 * for the output generation. | 38 * for the output generation. |
34 * | 39 * |
40 * @param outName The name of the out to serve. | |
35 * @param request The incomding request document. | 41 * @param request The incomding request document. |
36 * @param out The output stream. | 42 * @param out The output stream. |
37 * @param context The CallContext that provides further information and | 43 * @param context The CallContext that provides further information and |
38 * objects used for the output generation. | 44 * objects used for the output generation. |
39 */ | 45 */ |
40 void init(Document request, OutputStream out, CallContext context); | 46 void init(String outName, Document request, OutputStream out, CallContext context); |
41 | 47 |
42 /** | 48 /** |
43 * This method is used to tell the OutGenerator which artifact is the master | 49 * This method is used to tell the OutGenerator which artifact is the master |
44 * artifact which is used for special operations. | 50 * artifact which is used for special operations. |
45 * | 51 * |