Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/AbstractExporter.java @ 3422:118fe1cc8cc8
OutGenerators got a setCollection() method; analogous to setMasterArtifact(). Registered the SQOverviewGenerator as OutGenerator for 'sq_overview' Output.
flys-artifacts/trunk@5076 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 20 Jul 2012 06:50:25 +0000 |
parents | 4ac581062c40 |
children | a707ef048188 |
comparison
equal
deleted
inserted
replaced
3421:c44ff50f4970 | 3422:118fe1cc8cc8 |
---|---|
20 | 20 |
21 import de.intevation.artifacts.common.ArtifactNamespaceContext; | 21 import de.intevation.artifacts.common.ArtifactNamespaceContext; |
22 import de.intevation.artifacts.common.utils.XMLUtils; | 22 import de.intevation.artifacts.common.utils.XMLUtils; |
23 | 23 |
24 import de.intevation.flys.artifacts.resources.Resources; | 24 import de.intevation.flys.artifacts.resources.Resources; |
25 import de.intevation.flys.collections.FLYSArtifactCollection; | |
25 | 26 |
26 import de.intevation.flys.utils.Formatter; | 27 import de.intevation.flys.utils.Formatter; |
27 | 28 |
28 | 29 |
29 /** | 30 /** |
65 protected CallContext context; | 66 protected CallContext context; |
66 | 67 |
67 /** The selected facet. */ | 68 /** The selected facet. */ |
68 protected String facet; | 69 protected String facet; |
69 | 70 |
71 /** The collection.*/ | |
72 protected FLYSArtifactCollection collection; | |
73 | |
70 /** The master artifact. */ | 74 /** The master artifact. */ |
71 protected Artifact master; | 75 protected Artifact master; |
72 | 76 |
73 | 77 |
74 /** | 78 /** |
108 | 112 |
109 | 113 |
110 @Override | 114 @Override |
111 public void setMasterArtifact(Artifact master) { | 115 public void setMasterArtifact(Artifact master) { |
112 this.master = master; | 116 this.master = master; |
117 } | |
118 | |
119 | |
120 @Override | |
121 public void setCollection(FLYSArtifactCollection collection) { | |
122 this.collection = collection; | |
113 } | 123 } |
114 | 124 |
115 | 125 |
116 /** | 126 /** |
117 * This doOut() just collects the data of multiple artifacts. Therefore, it | 127 * This doOut() just collects the data of multiple artifacts. Therefore, it |