Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/OutGenerator.java @ 7077:0a337f0005c2 generator-refactoring
Extended init() of OutGenerator to take name of the out to serve.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 20 Sep 2013 16:34:09 +0200 |
parents | 5c6fd2c010dd |
children | ada424214b02 |
comparison
equal
deleted
inserted
replaced
7074:a2abd87c0d3b | 7077:0a337f0005c2 |
---|---|
36 | 36 |
37 /** | 37 /** |
38 * Initializes the OutGenerator with meta information which are necessary | 38 * Initializes the OutGenerator with meta information which are necessary |
39 * for the output generation. | 39 * for the output generation. |
40 * | 40 * |
41 * @param outName The name of the out to serve. | |
41 * @param request The incomding request document. | 42 * @param request The incomding request document. |
42 * @param out The output stream. | 43 * @param out The output stream. |
43 * @param context The CallContext that provides further information and | 44 * @param context The CallContext that provides further information and |
44 * objects used for the output generation. | 45 * objects used for the output generation. |
45 */ | 46 */ |
46 void init(Document request, OutputStream out, CallContext context); | 47 void init(String outName, Document request, OutputStream out, CallContext context); |
47 | 48 |
48 /** | 49 /** |
49 * This method is used to tell the OutGenerator which artifact is the master | 50 * This method is used to tell the OutGenerator which artifact is the master |
50 * artifact which is used for special operations. | 51 * artifact which is used for special operations. |
51 * | 52 * |