Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputState.java @ 657:af3f56758f59
merged gnv-artifacts/0.5
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:53 +0200 |
parents | 211cad2fb5ba |
children | 9a828e5a2390 |
comparison
equal
deleted
inserted
replaced
590:5f5f273c8566 | 657:af3f56758f59 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.state; | |
5 | |
6 import de.intevation.artifacts.CallContext; | |
7 | |
8 import de.intevation.gnv.state.exception.StateException; | |
9 | |
10 import java.io.OutputStream; | |
11 | |
12 import java.util.Collection; | |
13 | |
14 import org.w3c.dom.Document; | |
15 | |
16 /** | |
17 * @author Tim Englich (tim.englich@intevation.de) | |
18 * | |
19 */ | |
20 public interface OutputState | |
21 extends State | |
22 { | |
23 | |
24 /** | |
25 * Returns the Rendered Result of an State. | |
26 * | |
27 * @param outputMode | |
28 * The Mode that should be produces (Chart, Map, ...) | |
29 * @return The Bytecode of the Result | |
30 * @throws StateException | |
31 */ | |
32 public void out( | |
33 Document format, | |
34 Collection<InputData> inputData, | |
35 OutputStream outputStream, | |
36 String uuid, | |
37 CallContext callContext | |
38 ) throws StateException; | |
39 | |
40 /** | |
41 * Delivers the provided OutputModes of an State | |
42 * | |
43 * @return the provided OutputModes of an State | |
44 */ | |
45 public Collection<OutputMode> getOutputModes(); | |
46 } |