Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ReportGenerator.java @ 6905:1b35b2ddfc28
Artifacts: Introduce ThemeDocument & make stuff compileable again. THIS BREAKS THE SYSTEM! TODO: Move ThemeUtils into ThemeDocument.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 22 Aug 2013 23:31:38 +0200 |
parents | af13ceeba52a |
children | 5c6fd2c010dd |
comparison
equal
deleted
inserted
replaced
6904:d710bd3df387 | 6905:1b35b2ddfc28 |
---|---|
22 import org.dive4elements.artifactdatabase.state.Facet; | 22 import org.dive4elements.artifactdatabase.state.Facet; |
23 import org.dive4elements.artifactdatabase.state.Settings; | 23 import org.dive4elements.artifactdatabase.state.Settings; |
24 | 24 |
25 import org.dive4elements.river.artifacts.model.Calculation; | 25 import org.dive4elements.river.artifacts.model.Calculation; |
26 import org.dive4elements.river.collections.D4EArtifactCollection; | 26 import org.dive4elements.river.collections.D4EArtifactCollection; |
27 import org.dive4elements.river.themes.ThemeDocument; | |
27 | 28 |
28 import org.w3c.dom.Document; | 29 import org.w3c.dom.Document; |
29 | 30 |
30 public class ReportGenerator | 31 public class ReportGenerator |
31 implements OutGenerator | 32 implements OutGenerator |
58 } | 59 } |
59 | 60 |
60 @Override | 61 @Override |
61 public void doOut( | 62 public void doOut( |
62 ArtifactAndFacet artifactFacet, | 63 ArtifactAndFacet artifactFacet, |
63 Document attr, | 64 ThemeDocument attr, |
64 boolean visible | 65 boolean visible |
65 ) { | 66 ) { |
66 logger.debug("doOut"); | 67 logger.debug("doOut"); |
67 Facet facet = artifactFacet.getFacet(); | 68 Facet facet = artifactFacet.getFacet(); |
68 if (facet != null) { | 69 if (facet != null) { |