Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/chart/Chart.java @ 773:5fb1ea68e19c
Avoid danger to get a NullPointerException if no time to live is served by CallContext.
gnv-artifacts/trunk@832 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 26 Mar 2010 09:55:28 +0000 |
parents | 79401c871da4 |
children | 9a828e5a2390 |
line wrap: on
line source
package de.intevation.gnv.chart; import org.jfree.chart.JFreeChart; import java.io.Serializable; /** * The <code>Chart</code> interface should be implemented by each type of chart. * The class must implement a method <code>generateChart</code> which returns a * JFreeChart object. * * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public interface Chart extends Serializable { /** * This method is used to create a JFreeChart of this object. * * @return JFreeChart object. */ public JFreeChart generateChart(); }