Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/OutGenerator.java Fri Sep 20 15:44:39 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/OutGenerator.java Fri Sep 20 16:34:09 2013 +0200 @@ -38,12 +38,13 @@ * Initializes the OutGenerator with meta information which are necessary * for the output generation. * + * @param outName The name of the out to serve. * @param request The incomding request document. * @param out The output stream. * @param context The CallContext that provides further information and * objects used for the output generation. */ - void init(Document request, OutputStream out, CallContext context); + void init(String outName, Document request, OutputStream out, CallContext context); /** * This method is used to tell the OutGenerator which artifact is the master