comparison flys-artifacts/src/main/java/de/intevation/flys/exports/AbstractExporter.java @ 412:046bd86ae41d

Improved the OutGenerator interface to set a master artifact for the out generation. flys-artifacts/trunk@1874 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 10 May 2011 10:26:26 +0000
parents 5d6988836f01
children 340dc41a7ea3
comparison
equal deleted inserted replaced
411:6ab62e5b05b5 412:046bd86ae41d
46 protected CallContext context; 46 protected CallContext context;
47 47
48 /** The selected facet.*/ 48 /** The selected facet.*/
49 protected String facet; 49 protected String facet;
50 50
51 /** The master artifact.*/
52 protected Artifact master;
53
51 54
52 /** 55 /**
53 * Concrete subclasses need to use this method to write their special data 56 * Concrete subclasses need to use this method to write their special data
54 * objects into the CSV document. 57 * objects into the CSV document.
55 * 58 *
72 logger.debug("AbstractExporter.init"); 75 logger.debug("AbstractExporter.init");
73 76
74 this.request = request; 77 this.request = request;
75 this.out = out; 78 this.out = out;
76 this.context = context; 79 this.context = context;
80 }
81
82
83 public void setMasterArtifact(Artifact master) {
84 this.master = master;
77 } 85 }
78 86
79 87
80 /** 88 /**
81 * This doOut() just collects the data of multiple artifacts. Therefore, it 89 * This doOut() just collects the data of multiple artifacts. Therefore, it

http://dive4elements.wald.intevation.org