comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java @ 56:737d8bf63701

Required Inputelements integrated in BAsicArtifact-Descibe-Outputv gnv-artifacts/trunk@38 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 08 Sep 2009 10:39:50 +0000
parents 6ded86ce30dd
children f01592cd6419
comparison
equal deleted inserted replaced
55:6ded86ce30dd 56:737d8bf63701
93 NodeList inputValuesNodes = Config.getNodeSetXPath(configuration,"inputvalues/inputvalue"); 93 NodeList inputValuesNodes = Config.getNodeSetXPath(configuration,"inputvalues/inputvalue");
94 this.inputValues = new ArrayList<InputValue>(inputValuesNodes.getLength()); 94 this.inputValues = new ArrayList<InputValue>(inputValuesNodes.getLength());
95 for (int i = 0 ; i < inputValuesNodes.getLength(); i++){ 95 for (int i = 0 ; i < inputValuesNodes.getLength(); i++){
96 Node inputValueNode = inputValuesNodes.item(i); 96 Node inputValueNode = inputValuesNodes.item(i);
97 InputValue inputValue = new DefaultInputValue(Config.getStringXPath(inputValueNode,"@name"), Config.getStringXPath(inputValueNode,"@type")); 97 InputValue inputValue = new DefaultInputValue(Config.getStringXPath(inputValueNode,"@name"), Config.getStringXPath(inputValueNode,"@type"));
98 log.debug(inputValue.toString());
98 this.inputValues.add(inputValue); 99 this.inputValues.add(inputValue);
99 } 100 }
100 101
101 this.queryID = Config.getStringXPath(configuration,"queryID"); 102 this.queryID = Config.getStringXPath(configuration,"queryID");
102 log.info("QueryID ==>"+ this.queryID); 103 log.info("QueryID ==>"+ this.queryID);

http://dive4elements.wald.intevation.org