org.deegree.ogcwebservices.wms.operation
Class GetLegendGraphicResult
java.lang.Object
org.deegree.ogcwebservices.DefaultOGCWebServiceResponse
org.deegree.ogcwebservices.wms.operation.GetLegendGraphicResult
- All Implemented Interfaces:
- OGCWebServiceResponse
public class GetLegendGraphicResult
- extends DefaultOGCWebServiceResponse
The class encapsulates the response to a GetLegendGraphic request.
--------------------------------------------------------
- Version:
- $Revision: 9345 $ $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Katharina Lupp, Andreas Poth
GetLegendGraphicResult
public GetLegendGraphicResult(OGCWebServiceRequest request,
Object legendGraphic)
- constructor initializing the class
- Parameters:
request
- legendGraphic
-
GetLegendGraphicResult
GetLegendGraphicResult(OGCWebServiceRequest request,
OGCWebServiceException exception)
- constructor initializing the class
getLegendGraphic
public Object getLegendGraphic()
- Returns:
- the graphic that corresponds to a GetLegendGraphics request. If an
exception raised during processing or the request was invalid null
will be returned.
setLegendGraphic
public void setLegendGraphic(Object legendGraphic)
- sets the graphic that corresponds to a GetLegendGraphics request.
- Parameters:
legendGraphic
-
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net