comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputState.java @ 335:e964a3d8f7bc

Some Refactoring work done. Moved Transition to State gnv-artifacts/trunk@401 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 08 Dec 2009 08:39:03 +0000
parents
children 2f7a28f211c7
comparison
equal deleted inserted replaced
334:e37930705daa 335:e964a3d8f7bc
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.CallMeta;
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(Document format, Collection<InputData> inputData,
29 OutputStream outputStream, String uuid, CallMeta callMeta)
30 throws StateException;
31
32 /**
33 * Delivers the provided OutputModes of an State
34 *
35 * @return the provided OutputModes of an State
36 */
37 public Collection<OutputMode> getOutputModes();
38 }

http://dive4elements.wald.intevation.org