diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java @ 109:9891d133f08d

Improved the init process of the WINFOArtifact - there are two new states to select the river and the gauge. flys-artifacts/trunk@1294 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 04 Feb 2011 11:18:59 +0000
parents
children b51e92fef704
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java	Fri Feb 04 11:18:59 2011 +0000
@@ -0,0 +1,49 @@
+package de.intevation.flys.artifacts.states;
+
+import org.apache.log4j.Logger;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Node;
+
+import de.intevation.artifacts.CallContext;
+
+import de.intevation.artifactdatabase.state.AbstractState;
+
+
+/**
+ * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
+ */
+public class RiverSelect extends AbstractState {
+
+    /** The logger used in this class. */
+    private static Logger logger = Logger.getLogger(RiverSelect.class);
+
+    /**
+     * The default constructor that initializes an empty State object.
+     */
+    public RiverSelect() {
+        super(null, null);
+    }
+
+
+    /**
+     * Initialize the state based on the state node in the configuration.
+     *
+     * @param config The state configuration node.
+     */
+    public void setup(Node config) {
+        super.setup(config);
+    }
+
+
+    public void describe(
+        Document    document,
+        Node        root,
+        CallContext context,
+        String      uuid)
+    {
+        // TODO Implement me
+        logger.error("Currently not implemented.");
+    }
+}
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org