comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputState.java @ 376:d8f3ef441bf2

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

http://dive4elements.wald.intevation.org