comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/PreSettingsTransferCoordinateSelectionState.java @ 796:a5526908f92f

Added javadoc in state package. gnv-artifacts/trunk@878 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 01 Apr 2010 09:15:36 +0000
parents c4156275c1e1
children feae2f9d6c6f
comparison
equal deleted inserted replaced
795:cdade5005cba 796:a5526908f92f
12 12
13 import org.w3c.dom.Element; 13 import org.w3c.dom.Element;
14 import org.w3c.dom.Node; 14 import org.w3c.dom.Node;
15 15
16 /** 16 /**
17 * This method looks for former inserted coordinates before initialization.
18 *
17 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> 19 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
18 *
19 */ 20 */
20 public class PreSettingsTransferCoordinateSelectionState extends CoordinateSelectionState { 21 public class PreSettingsTransferCoordinateSelectionState extends CoordinateSelectionState {
21 22
22 23
23 /** 24 /**
33 */ 34 */
34 public PreSettingsTransferCoordinateSelectionState() { 35 public PreSettingsTransferCoordinateSelectionState() {
35 super(); 36 super();
36 } 37 }
37 38
39
38 /** 40 /**
39 * @see de.intevation.gnv.state.StateBase#initialize(java.lang.String, de.intevation.artifacts.CallContext) 41 * Lookup mechanism for former inserted data before intialization begins.
42 *
43 * @param uuid
44 * @param context
45 * @throws StateException
40 */ 46 */
41 @Override 47 @Override
42 public void initialize(String uuid, CallContext context) 48 public void initialize(String uuid, CallContext context)
43 throws StateException { 49 throws StateException {
44 Map<String, InputData> preSettings = this.getPreSettings(); 50 Map<String, InputData> preSettings = this.getPreSettings();
53 } 59 }
54 60
55 super.initialize(uuid, context); 61 super.initialize(uuid, context);
56 } 62 }
57 63
64
58 /** 65 /**
59 * @see de.intevation.gnv.state.StateBase#setup(org.w3c.dom.Node) 66 *
67 * @param configuration
60 */ 68 */
61 @Override 69 @Override
62 public void setup(Node configuration) { 70 public void setup(Node configuration) {
63 71
64 Element preSettingsNode = (Element)Config.getNodeXPath(configuration, 72 Element preSettingsNode = (Element)Config.getNodeXPath(configuration,
67 this.transferPreSettingsName = preSettingsNode.getAttribute("presetting"); 75 this.transferPreSettingsName = preSettingsNode.getAttribute("presetting");
68 this.transferInputDataname = preSettingsNode.getAttribute("inputvalue"); 76 this.transferInputDataname = preSettingsNode.getAttribute("inputvalue");
69 } 77 }
70 super.setup(configuration); 78 super.setup(configuration);
71 } 79 }
72
73
74
75 } 80 }
81 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org