Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputState.java @ 480:211cad2fb5ba
Rebased "Horizonalschnitte" to own state class to break from the not
well fitting TimeSeriesOutputState.
gnv-artifacts/trunk@552 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 17 Jan 2010 12:22:56 +0000 |
parents | 2f7a28f211c7 |
children | 9a828e5a2390 |
comparison
equal
deleted
inserted
replaced
479:d47b478e662b | 480:211cad2fb5ba |
---|---|
1 /** | 1 /** |
2 * | 2 * |
3 */ | 3 */ |
4 package de.intevation.gnv.state; | 4 package de.intevation.gnv.state; |
5 | 5 |
6 import de.intevation.artifacts.CallContext; | |
7 | |
8 import de.intevation.gnv.state.exception.StateException; | |
9 | |
6 import java.io.OutputStream; | 10 import java.io.OutputStream; |
11 | |
7 import java.util.Collection; | 12 import java.util.Collection; |
8 | 13 |
9 import org.w3c.dom.Document; | 14 import org.w3c.dom.Document; |
10 | 15 |
11 import de.intevation.artifacts.CallContext; | |
12 import de.intevation.gnv.state.exception.StateException; | |
13 | |
14 /** | 16 /** |
15 * @author Tim Englich <tim.englich@intevation.de> | 17 * @author Tim Englich (tim.englich@intevation.de) |
16 * | 18 * |
17 */ | 19 */ |
18 public interface OutputState extends State { | 20 public interface OutputState |
21 extends State | |
22 { | |
19 | 23 |
20 /** | 24 /** |
21 * Returns the Rendered Result of an State. | 25 * Returns the Rendered Result of an State. |
22 * | 26 * |
23 * @param outputMode | 27 * @param outputMode |
24 * The Mode that should be produces (Chart, Map, ...) | 28 * The Mode that should be produces (Chart, Map, ...) |
25 * @return The Bytecode of the Result | 29 * @return The Bytecode of the Result |
26 * @throws StateException | 30 * @throws StateException |
27 */ | 31 */ |
28 public void out( | 32 public void out( |
29 Document format, | 33 Document format, |
30 Collection<InputData> inputData, | 34 Collection<InputData> inputData, |
31 OutputStream outputStream, | 35 OutputStream outputStream, |
32 String uuid, | 36 String uuid, |
33 CallContext callContext | 37 CallContext callContext |
34 ) throws StateException; | 38 ) throws StateException; |
35 | 39 |
36 /** | 40 /** |
37 * Delivers the provided OutputModes of an State | 41 * Delivers the provided OutputModes of an State |
38 * | 42 * |