Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ReportGenerator.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 | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7095:bdadffad35b1 | 7116:3c7471b929d1 |
---|---|
34 private static Logger logger = Logger.getLogger(ReportGenerator.class); | 34 private static Logger logger = Logger.getLogger(ReportGenerator.class); |
35 | 35 |
36 protected Document result; | 36 protected Document result; |
37 protected OutputStream out; | 37 protected OutputStream out; |
38 protected CallContext context; | 38 protected CallContext context; |
39 protected String outName; | |
39 | 40 |
40 public ReportGenerator() { | 41 public ReportGenerator() { |
41 } | 42 } |
42 | 43 |
43 @Override | 44 @Override |
44 public void init(Document request, OutputStream out, CallContext context) { | 45 public void setup(Object config) { |
46 logger.debug("ReportGenerator.setup"); | |
47 } | |
48 | |
49 @Override | |
50 public void init(String outName, Document request, OutputStream out, CallContext context) { | |
45 logger.debug("init"); | 51 logger.debug("init"); |
52 this.outName = outName; | |
46 this.out = out; | 53 this.out = out; |
47 this.context = context; | 54 this.context = context; |
48 result = null; | 55 result = null; |
49 } | 56 } |
50 | 57 |