changeset 359:e5ea6a01526c

Added an OutGenerator for creating longitudinal section curves. flys-artifacts/trunk@1767 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 28 Apr 2011 12:54:11 +0000
parents f530114182d2
children 3571357c85a7
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/conf.xml flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java
diffstat 3 files changed, 54 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Apr 28 12:23:40 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Apr 28 12:54:11 2011 +0000
@@ -1,3 +1,12 @@
+2011-04-28  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
+	  New. An OutGenerator that creates longitudinal section curves.
+
+	  NOTE: This is just the stub - the out creation needs to be implemented!
+
+	* doc/conf/conf.xml: Added the LongitudinalSectionGenerator.
+
 2011-04-28  Ingo Weinzierl <ingo@intevation.de>
 
 	* doc/conf/conf.xml: Bugfix: Added missing <output-generators> section.
--- a/flys-artifacts/doc/conf/conf.xml	Thu Apr 28 12:23:40 2011 +0000
+++ b/flys-artifacts/doc/conf/conf.xml	Thu Apr 28 12:54:11 2011 +0000
@@ -46,6 +46,7 @@
 
     <output-generators>
         <output-generator name="discharge_curve">de.intevation.flys.exports.DischargeCurveGenerator</output-generator>
+        <output-generator name="longitudinal_section">de.intevation.flys.exports.LongitudinalSectionGenerator</output-generator>
     </output-generators>
 
     <rest-server>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java	Thu Apr 28 12:54:11 2011 +0000
@@ -0,0 +1,44 @@
+package de.intevation.flys.exports;
+
+import java.io.IOException;
+
+import org.apache.log4j.Logger;
+
+import org.w3c.dom.Document;
+
+import de.intevation.artifacts.Artifact;
+
+
+/**
+ * An OutGenerator that generates discharge curves.
+ *
+ * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
+ */
+public class LongitudinalSectionGenerator extends ChartGenerator {
+
+    /** The logger that is used in this generator.*/
+    private static Logger logger =
+        Logger.getLogger(LongitudinalSectionGenerator.class);
+
+
+    public LongitudinalSectionGenerator() {
+        super();
+    }
+
+
+    public void doOut(Artifact artifact, Document attr) {
+        logger.debug("LongitudinalSectionGenerator.doOut");
+
+        // TODO Implement me
+    }
+
+
+    public void generate()
+    throws IOException
+    {
+        logger.debug("LongitudinalSectionGenerator.generate");
+
+        // TODO Implement me!
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org