Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputStateBase.java @ 778:9a828e5a2390
Removed trailing whitespace
gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:58:51 +0000 |
parents | dde7f51dbe1e |
children | b1f5f2a8840f |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputStateBase.java Fri Mar 26 15:31:20 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/OutputStateBase.java Mon Mar 29 07:58:51 2010 +0000 @@ -19,7 +19,7 @@ import org.w3c.dom.NodeList; import de.intevation.artifactdatabase.Config; -import de.intevation.artifactdatabase.XMLUtils; +import de.intevation.artifactdatabase.XMLUtils; import de.intevation.artifacts.CallContext; import de.intevation.artifacts.CallMeta; import de.intevation.gnv.artifacts.cache.CacheFactory; @@ -35,10 +35,10 @@ /** * @author Tim Englich (tim.englich@intevation.de) * @author Ingo Weinzierl (ingo.weinzierl@intevation.de) - * + * */ -public abstract class OutputStateBase -extends StateBase +public abstract class OutputStateBase +extends StateBase implements OutputState { public static final String XPATH_OUTPUT_MODE = @@ -67,7 +67,7 @@ * The different Outputmodes which are provided by an OutputState */ protected Collection<OutputMode> outputModes = null; - + protected String queryODVID = null; /** @@ -92,9 +92,9 @@ public void setup(Node configuration) { log.debug("OutputStateBase.setup"); super.setup(configuration); - + this.queryODVID = Config.getStringXPath(configuration,"queryID-odv"); - + NodeList outputModeList = Config.getNodeSetXPath(configuration, "outputsModes/outputsMode"); if (outputModeList != null) { @@ -170,13 +170,13 @@ } public void out( - Document format, + Document format, Collection<InputData> inputData, - OutputStream outputStream, - String uuid, + OutputStream outputStream, + String uuid, CallMeta callMeta ) - throws StateException + throws StateException { } @@ -235,7 +235,7 @@ } return null; } - + protected Collection<Result> getODVResult(String uuid) { log.debug("OutputStateBase.getODVResult"); // TODO add Caching? I think it's not nessessary @@ -270,7 +270,7 @@ } return returnValue; } - + protected void removeChartResult(String uuid) { log.debug("OutputStateBase.getChartResult"); if (CacheFactory.getInstance().isInitialized()) { @@ -321,7 +321,7 @@ * @see de.intevation.gnv.state.StateBase#putInputData(java.util.Collection, java.lang.String) */ @Override - public void putInputData(Collection<InputData> inputData, + public void putInputData(Collection<InputData> inputData, String uuid) throws StateException { log.debug("OutputStateBase.putInputData"); @@ -394,7 +394,7 @@ throw new StateException(errMsg); } - } + } else if (tmpObj != null && tmpObj instanceof MinMaxDescribeData) { MinMaxDescribeData data = (MinMaxDescribeData) tmpObj; if (this.inputData == null) { @@ -405,7 +405,7 @@ this.inputData.put("maxvalue", new DefaultInputData("maxvalue", (String) data.getMaxValue())); } else { - + String errMsg = "No Inputvalue given for Inputdata " + tmpItem.getName(); log.warn(errMsg + "Value will be ignored");