Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java @ 68:d117fd4b82e5
Chartrendering integrated in Timeseries Transition
gnv-artifacts/trunk@53 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 09 Sep 2009 15:28:18 +0000 |
parents | 5db77e0a8594 |
children | 0035862b0295 |
comparison
equal
deleted
inserted
replaced
67:0e9762ebd18d | 68:d117fd4b82e5 |
---|---|
307 returnValue.add(inputData); | 307 returnValue.add(inputData); |
308 } | 308 } |
309 } | 309 } |
310 return returnValue; | 310 return returnValue; |
311 } | 311 } |
312 /** | |
313 * @see de.intevation.artifactdatabase.DefaultArtifact#out(org.w3c.dom.Document, java.lang.Object) | |
314 */ | |
315 public byte[] out(Document format, Object context) { | |
316 log.debug("TGNVArtifactBase.out"); | |
317 try { | |
318 | |
319 if (current != null && current instanceof OutputTransition){ | |
320 return ((OutputTransition)current).out(this.readOutputType(format)); | |
321 } | |
322 } catch (TransitionException e) { | |
323 log.error(e,e); | |
324 } | |
325 return null; | |
326 } | |
327 | |
328 protected String readOutputType(Document document){ | |
329 String value = Config.getStringXPath(document,"action/out/@name"); | |
330 return value; | |
331 } | |
312 } | 332 } |