diff gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransition.java @ 64:5db77e0a8594

Integrated Output Methods and Interfacsstructure gnv-artifacts/trunk@47 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 09 Sep 2009 11:01:55 +0000
parents
children d117fd4b82e5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransition.java	Wed Sep 09 11:01:55 2009 +0000
@@ -0,0 +1,26 @@
+/**
+ *
+ */
+package de.intevation.gnv.transition;
+
+import java.util.Collection;
+
+/**
+ * @author Tim Englich <tim.englich@intevation.de>
+ *
+ */
+public interface OutputTransition extends Transition {
+
+    /**
+     * Returns the Rendered Result of an Transition.
+     * @param outputMode The Mode that should be produces (Chart, Map, ...)
+     * @return The Bytecode of the Result
+     */
+    public byte[] out( String outputMode);
+    
+    /**
+     * Delivers the provided OutputModes of an Transition
+     * @return the provided OutputModes of an Transition
+     */
+    public Collection<OutputMode> getOutputModes();
+}

http://dive4elements.wald.intevation.org