01: /* Copyright (c) 2001, 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.vfny.geoserver.wms.responses;
06:
07: import org.vfny.geoserver.wms.RasterMapProducer;
08: import java.awt.image.RenderedImage;
09:
10: /**
11: *
12: * @author Simone Giannecchini, GeoSolutions
13: *
14: */
15: public abstract class AbstractRasterMapProducer extends
16: AbstractGetMapProducer implements RasterMapProducer {
17: /**
18: * The image generated by the execute method.
19: */
20: protected RenderedImage image;
21:
22: public AbstractRasterMapProducer(String outputFormat, String mime) {
23: super (outputFormat, mime);
24: }
25:
26: /**
27: * This is a package protected method with the sole purpose of facilitate
28: * unit testing. Do not use by any means for oher purposes.
29: *
30: * @return DOCUMENT ME!
31: */
32: public RenderedImage getImage() {
33: return this.image;
34: }
35: }
|