01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.data.wms.request;
17:
18: import org.geotools.data.ows.Request;
19:
20: /**
21: * A request used to get the legend graphic for a given layer
22: *
23: * @author Richard Gould
24: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/wms/src/main/java/org/geotools/data/wms/request/GetLegendGraphicRequest.java $
25: */
26: public interface GetLegendGraphicRequest extends Request {
27: /* Parameters */
28: public static final String LAYER = "LAYER";
29: public static final String STYLE = "STYLE";
30: public static final String FEATURETYPE = "FEATURETYPE";
31: public static final String RULE = "RULE";
32: public static final String SCALE = "SCALE";
33: public static final String SLD = "SLD";
34: public static final String SLD_BODY = "SLD_BODY";
35: public static final String FORMAT = "FORMAT";
36: public static final String WIDTH = "WIDTH";
37: public static final String HEIGHT = "HEIGHT";
38: public static final String EXCEPTIONS = "EXCEPTIONS";
39:
40: public void setLayer(String layer);
41:
42: public void setStyle(String style);
43:
44: public void setFeatureType(String featureType);
45:
46: public void setRule(String rule);
47:
48: public void setScale(String scale);
49:
50: public void setSLD(String sld);
51:
52: public void setSLDBody(String sldBody);
53:
54: public void setFormat(String format);
55:
56: public void setWidth(String width);
57:
58: public void setHeight(String height);
59:
60: public void setExceptions(String exceptions);
61: }
|