|
deegree 2.5 (2011/06/29 09:44 build-8-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(java.util.Map<java.lang.String,java.lang.String> model)
|
static GetLegendGraphic |
create(java.lang.String id,
java.lang.String version,
java.lang.String layer,
java.lang.String style,
java.lang.String featureType,
java.lang.String rule,
double scale,
java.net.URL sld,
java.lang.String sld_body,
java.lang.String format,
int width,
int height,
java.lang.String exceptions,
java.util.Map<java.lang.String,java.lang.String> vendorSpecificParameter)
|
java.lang.String |
getExceptions()
This gives the MIME type of the format in which to return exceptions. |
java.lang.String |
getFeatureType()
|
java.lang.String |
getFormat()
|
int |
getHeight()
This gives a hint for the height of the returned graphic in pixels. |
java.lang.String |
getLayer()
|
java.lang.String |
getRequestParameter()
method for creating a OGC WMS 1.1.1 conform legend graphic request |
java.lang.String |
getRule()
|
double |
getScale()
|
java.lang.String |
getSLD_Body()
|
java.net.URL |
getSLD()
|
java.lang.String |
getStyle()
|
int |
getWidth()
This gives a hint for the width of the returned graphic in pixels. |
void |
setExceptions(java.lang.String exceptions)
|
void |
setFeatureType(java.lang.String featureType)
sets the |
void |
setFormat(java.lang.String format)
sets the name of the image format the legend graphics shall have |
void |
setHeight(int height)
|
void |
setLayer(java.lang.String layer)
sets the |
void |
setRule(java.lang.String rule)
sets the |
void |
setScale(double scale)
Comma-seperated min and max scale values of a layer. sets the |
void |
setSLD_Body(java.lang.String sLD_Body)
sets the body of a SLD document. |
void |
setSLD(java.net.URL sLD)
sets a reference (URL) to a SLD document |
void |
setStyle(java.lang.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(java.util.Map<java.lang.String,java.lang.String> model)
throws InconsistentRequestException
model - key-value-pair representation of the request
InconsistentRequestException
public static GetLegendGraphic create(java.lang.String id,
java.lang.String version,
java.lang.String layer,
java.lang.String style,
java.lang.String featureType,
java.lang.String rule,
double scale,
java.net.URL sld,
java.lang.String sld_body,
java.lang.String format,
int width,
int height,
java.lang.String exceptions,
java.util.Map<java.lang.String,java.lang.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 java.lang.String getLayer()
public void setLayer(java.lang.String layer)
layer - <Layer>public java.lang.String getStyle()
public void setStyle(java.lang.String style)
style - <Style>public java.lang.String getFeatureType()
public void setFeatureType(java.lang.String featureType)
featureType - <FeatureType>public java.lang.String getRule()
public void setRule(java.lang.String rule)
rule - <Rule>public double getScale()
public void setScale(double scale)
scale - <Scale>.public java.net.URL getSLD()
public void setSLD(java.net.URL sLD)
sLD - the URLpublic java.lang.String getSLD_Body()
public void setSLD_Body(java.lang.String sLD_Body)
sLD_Body - the bodypublic java.lang.String getFormat()
public void setFormat(java.lang.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 java.lang.String getExceptions()
public void setExceptions(java.lang.String exceptions)
exceptions - getExceptions()
public java.lang.String getRequestParameter()
throws OGCWebServiceException
getRequestParameter in interface OGCWebServiceRequestgetRequestParameter in class AbstractOGCWebServiceRequestOGCWebServiceException
|
deegree 2.5 (2011/06/29 09:44 build-8-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