annotate artifacts/src/main/java/org/dive4elements/river/artifacts/states/StateFactory.java @ 8202:e4606eae8ea5

sed src/**/*.java 's/logger/log/g'
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 12:58:17 +0200
parents af13ceeba52a
children 0a5239a1e46e
rev   line source
5863
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
2 * Software engineering by Intevation GmbH
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
3 *
5994
af13ceeba52a Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5863
diff changeset
4 * This file is Free Software under the GNU AGPL (>=v3)
5863
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
5994
af13ceeba52a Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5863
diff changeset
6 * documentation coming with Dive4Elements River for details.
5863
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
7 */
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
8
5831
bd047b71ab37 Repaired internal references
Sascha L. Teichmann <teichmann@intevation.de>
parents: 3453
diff changeset
9 package org.dive4elements.river.artifacts.states;
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
10
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
11 import javax.xml.xpath.XPathConstants;
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 import org.apache.log4j.Logger;
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15 import org.w3c.dom.Node;
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
16 import org.w3c.dom.NodeList;
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17
5831
bd047b71ab37 Repaired internal references
Sascha L. Teichmann <teichmann@intevation.de>
parents: 3453
diff changeset
18 import org.dive4elements.artifactdatabase.data.DefaultStateData;
bd047b71ab37 Repaired internal references
Sascha L. Teichmann <teichmann@intevation.de>
parents: 3453
diff changeset
19 import org.dive4elements.artifactdatabase.state.State;
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
20
5831
bd047b71ab37 Repaired internal references
Sascha L. Teichmann <teichmann@intevation.de>
parents: 3453
diff changeset
21 import org.dive4elements.artifacts.common.utils.XMLUtils;
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
22
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
23
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
24 /**
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
25 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
26 */
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
27 public class StateFactory {
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
28
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
29 /** The log used in this class */
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
30 private static Logger log = Logger.getLogger(StateFactory.class);
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
31
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
32 /** The XPath to the classname of the state */
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
33 public static final String XPATH_STATE = "@state";
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
34
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
35 /** The XPath to the data items of the state relative to the state node. */
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
36 public static final String XPATH_DATA = "data";
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
37
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
38 /** The XPath to the data name relative to the data node.*/
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
39 public static final String XPATH_DATA_NAME = "@name";
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
40
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
41 /** The XPath to the data type relative to the data node.*/
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
42 public static final String XPATH_DATA_TYPE = "@type";
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
43
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
44 /** The XPath to the data description relative to the data node.*/
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
45 public static final String XPATH_DATA_DESCRIPTION = "@description";
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
46
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
47
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
48 /**
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
49 * Creates a new State based on the configured class provided by
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
50 * <code>stateConf</code>.
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
51 *
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
52 * @param stateConf The configuration of the state.
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
53 *
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
54 * @return a State.
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
55 */
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
56 public static State createState(Node stateConf) {
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
57 String clazz = (String) XMLUtils.xpath(
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
58 stateConf, XPATH_STATE, XPathConstants.STRING);
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
59
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
60 State state = null;
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
61
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
62 try {
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
63 log.debug("Create a new State for class: " + clazz);
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
64 state = (State) Class.forName(clazz).newInstance();
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
65 state.setup(stateConf);
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
66
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
67 initializeStateData(state, stateConf);
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
68 }
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
69 catch (InstantiationException ie) {
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
70 log.error(ie, ie);
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
71 }
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
72 catch (IllegalAccessException iae) {
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
73 log.error(iae, iae);
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
74 }
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
75 catch (ClassNotFoundException cnfe) {
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
76 log.error(cnfe, cnfe);
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
77 }
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
78
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
79 return state;
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
80 }
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
81
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
82
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
83 /**
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
84 * This method extracts the configured input data of a state and adds new
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
85 * StateData objects to the State.
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
86 *
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
87 * @param state The state.
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
88 * @param stateConf The state configuration node.
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
89 */
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
90 protected static void initializeStateData(State state, Node stateConf) {
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
91 NodeList dataList = (NodeList) XMLUtils.xpath(
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
92 stateConf, XPATH_DATA, XPathConstants.NODESET);
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
93
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
94 if (dataList == null || dataList.getLength() == 0) {
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
95 log.debug("The state has no input data configured.");
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
96
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
97 return;
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
98 }
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
99
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
100 int items = dataList.getLength();
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
101
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
102 log.debug("The state has " + items + " data items configured.");
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
103
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
104 for (int i = 0; i < items; i++) {
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
105 Node data = dataList.item(i);
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
106
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
107 String name = (String) XMLUtils.xpath(
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
108 data, XPATH_DATA_NAME, XPathConstants.STRING);
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
109 String type = (String) XMLUtils.xpath(
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
110 data, XPATH_DATA_TYPE, XPathConstants.STRING);
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
111 String desc = (String) XMLUtils.xpath(
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
112 data, XPATH_DATA_DESCRIPTION, XPathConstants.STRING);
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
113
3453
e74e707ff650 Replace string comparison with empty string with length equals zero comparison
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2204
diff changeset
114 if (name == null || name.length() == 0) {
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
115 log.warn("No name for data item at pos " + i + " found.");
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
116 continue;
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
117 }
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
118
3453
e74e707ff650 Replace string comparison with empty string with length equals zero comparison
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2204
diff changeset
119 if (type == null || type.length() == 0) {
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
120 log.warn("No type for data item at pos " + i + " found.");
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
121 log.warn("Default type 'string' used.");
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
122 type = "string";
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
123 }
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
124
8202
e4606eae8ea5 sed src/**/*.java 's/logger/log/g'
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5994
diff changeset
125 log.debug("add StateData '" + name + "' (type '" + type + "')");
2204
45f7762767e2 Bugfix: use correct order of parameters to call DefaultStateData constructor.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
126 state.addData(name, new DefaultStateData(name, desc, type));
113
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
127 }
f077df8ad54c The input data items of a state are read from configuration after the state has been setup.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
128 }
108
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
129 }
50273a391e53 Added missing StateFactory class of the last commit.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
130 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org