| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.services.wms.GetLegendGraphicHandler
performs a GetLegendGraphic request. The capability of the deegree implementation is limited to handle requests containing a named style or using the (named) styles defined in a passed or referenced SLD. featuretype and rule are not supported yet.
| Field Summary | |
private  WMSCapabilities | 
capabilities
 | 
private  WMSGetLegendGraphicRequest | 
request
 | 
private  StyledLayerDescriptor | 
sld
 | 
| Constructor Summary | |
GetLegendGraphicHandler(WMSCapabilities capabilities,
                        WMSGetLegendGraphicRequest request)
Creates a new GetMapHandler object.  | 
|
| Method Summary | |
private  LegendElement | 
getFromSLDStyle()
creates a LegendElement from a style defined in the SLD document passed/referenced by/in the request  | 
private  LegendElement | 
getFromWellKnownStyle()
creates a LegendElement from a style known by the WMS  | 
private  Style | 
getNamedStyle(java.lang.String name)
 | 
private  LegendElement | 
getSymbol(WMSGetLegendGraphicRequest request)
 | 
 WMSGetLegendGraphicResponse | 
performGetLegendGraphic()
performs the request and returns the result of it.  | 
private  void | 
validate(WMSGetLegendGraphicRequest request)
validates if the passed request is valid against the WMS it was sent to and the SLD maybe contained or referenced in/by the request.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
private WMSCapabilities capabilities
private StyledLayerDescriptor sld
private WMSGetLegendGraphicRequest request
| Constructor Detail | 
public GetLegendGraphicHandler(WMSCapabilities capabilities,
                               WMSGetLegendGraphicRequest request)
                        throws WebServiceException
request - request to perform| Method Detail | 
public WMSGetLegendGraphicResponse performGetLegendGraphic()
                                                    throws WebServiceException
WebServiceException
private void validate(WMSGetLegendGraphicRequest request)
               throws WebServiceException
WebServiceExceptionprivate Style getNamedStyle(java.lang.String name)
private LegendElement getSymbol(WMSGetLegendGraphicRequest request)
                         throws WebServiceException
request - 
WebServiceException
private LegendElement getFromWellKnownStyle()
                                     throws WebServiceException
WebServiceException
private LegendElement getFromSLDStyle()
                               throws WebServiceException
WebServiceException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||