# HG changeset patch # User Ingo Weinzierl # Date 1303995251 0 # Node ID e5ea6a01526ca1f79923733c762fca774406856d # Parent f530114182d2a55d17698720392d21c8f0cf69e5 Added an OutGenerator for creating longitudinal section curves. flys-artifacts/trunk@1767 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r f530114182d2 -r e5ea6a01526c flys-artifacts/ChangeLog --- 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 + + * 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 * doc/conf/conf.xml: Bugfix: Added missing section. diff -r f530114182d2 -r e5ea6a01526c flys-artifacts/doc/conf/conf.xml --- 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 @@ de.intevation.flys.exports.DischargeCurveGenerator + de.intevation.flys.exports.LongitudinalSectionGenerator diff -r f530114182d2 -r e5ea6a01526c flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java --- /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 Ingo Weinzierl + */ +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 :