Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ChartInfoGenerator.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 |
---|---|
80 * | 80 * |
81 * @param request | 81 * @param request |
82 * @param out | 82 * @param out |
83 * @param context | 83 * @param context |
84 */ | 84 */ |
85 public void init(Document request, OutputStream out, CallContext context) { | 85 public void init(String outName, Document request, OutputStream out, CallContext context) { |
86 this.out = out; | 86 this.out = out; |
87 | 87 |
88 generator.init(request, out, context); | 88 generator.init(outName, request, out, context); |
89 } | 89 } |
90 | 90 |
91 | 91 |
92 /** | 92 /** |
93 * Dispatches the operation to the instantiated generator. | 93 * Dispatches the operation to the instantiated generator. |