|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.AbstractOGCWebServiceRequest
org.deegree.ogcwebservices.wms.operation.WMSRequestBase
org.deegree.ogcwebservices.wms.operation.GetLegendGraphic
public class GetLegendGraphic
| Method Summary | |
|---|---|
static GetLegendGraphic |
create(Map<String,String> model)
|
static GetLegendGraphic |
create(String id,
String version,
String layer,
String style,
String featureType,
String rule,
double scale,
URL sld,
String sld_body,
String format,
int width,
int height,
String exceptions,
Map<String,String> vendorSpecificParameter)
|
String |
getExceptions()
This gives the MIME type of the format in which to return exceptions. |
String |
getFeatureType()
|
String |
getFormat()
|
int |
getHeight()
This gives a hint for the height of the returned graphic in pixels. |
String |
getLayer()
|
String |
getRequestParameter()
method for creating a OGC WMS 1.1.1 conform legend graphic request |
String |
getRule()
|
double |
getScale()
|
String |
getSLD_Body()
|
URL |
getSLD()
|
String |
getStyle()
|
int |
getWidth()
This gives a hint for the width of the returned graphic in pixels. |
void |
setExceptions(String exceptions)
|
void |
setFeatureType(String featureType)
sets the |
void |
setFormat(String format)
sets the name of the image format the legend graphics shall have |
void |
setHeight(int height)
|
void |
setLayer(String layer)
sets the |
void |
setRule(String rule)
sets the |
void |
setScale(double scale)
Comma-seperated min and max scale values of a layer. sets the |
void |
setSLD_Body(String sLD_Body)
sets the body of a SLD document. |
void |
setSLD(URL sLD)
sets a reference (URL) to a SLD document |
void |
setStyle(String style)
sets the |
void |
setWidth(int width)
|
| Methods inherited from class org.deegree.ogcwebservices.wms.operation.WMSRequestBase |
|---|
getServiceName |
| Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest |
|---|
getId, getParam, getParamAsInt, getParamValues, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GetLegendGraphic create(Map<String,String> model)
throws InconsistentRequestException
model - key-value-pair representation of the request
InconsistentRequestException
public static GetLegendGraphic create(String id,
String version,
String layer,
String style,
String featureType,
String rule,
double scale,
URL sld,
String sld_body,
String format,
int width,
int height,
String exceptions,
Map<String,String> vendorSpecificParameter)
id - unique id of the requestversion - version of the target WMSlayer - name of the layer the style is assigned tostyle - name of the style (optional; if not present -> 'default')featureType - name of the feature type a legend element shall be created for --> SLDrule - name of the rule a legend element shall be created for --> SLDscale - scale for which a rule must be valid --> SLDsld - refernce to a SLD documentsld_body - SLD documentformat - image format of the returned legend elementwidth - height - exceptions - format of the excpetion if something went wrongvendorSpecificParameter -
public String getLayer()
public void setLayer(String layer)
layer - <Layer>public String getStyle()
public void setStyle(String style)
style - <Style>public String getFeatureType()
public void setFeatureType(String featureType)
featureType - <FeatureType>public String getRule()
public void setRule(String rule)
rule - <Rule>public double getScale()
public void setScale(double scale)
scale - <Scale>.public URL getSLD()
public void setSLD(URL sLD)
sLD - the URLpublic String getSLD_Body()
public void setSLD_Body(String sLD_Body)
sLD_Body - the bodypublic String getFormat()
public void setFormat(String format)
format - the format stringpublic int getHeight()
public void setHeight(int height)
height - getHeight()public int getWidth()
public void setWidth(int width)
width - getWidth()public String getExceptions()
public void setExceptions(String exceptions)
exceptions - getExceptions()
public String getRequestParameter()
throws OGCWebServiceException
getRequestParameter in interface OGCWebServiceRequestgetRequestParameter in class AbstractOGCWebServiceRequestOGCWebServiceException
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org