deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wms
Class DefaultGetFeatureInfoHandler

java.lang.Object
  extended by org.deegree.ogcwebservices.wms.DefaultGetFeatureInfoHandler
All Implemented Interfaces:
GetFeatureInfoHandler

 class DefaultGetFeatureInfoHandler
extends Object
implements GetFeatureInfoHandler

Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Nested Class Summary
 class DefaultGetFeatureInfoHandler.ServiceInvoker
          Inner class for accessing the data of one layer and creating a GML document from it.
 
Field Summary
protected  WMSConfigurationType configuration
           
protected  GetMap getMapRequest
           
protected static ILogger LOG
           
protected  CoordinateSystem reqCRS
           
protected  GetFeatureInfo request
           
protected  double scale
           
protected static QualifiedName VALUE
           
 
Constructor Summary
DefaultGetFeatureInfoHandler(WMSConfigurationType capabilities, GetFeatureInfo request)
          Creates a new GetMapHandler object.
 
Method Summary
 GetFeatureInfoResult performGetFeatureInfo()
          performs a GetFeatureInfo request and retruns the result encapsulated within a WMSFeatureInfoResponse object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final ILogger LOG

request

protected GetFeatureInfo request

getMapRequest

protected GetMap getMapRequest

configuration

protected WMSConfigurationType configuration

scale

protected double scale

reqCRS

protected CoordinateSystem reqCRS

VALUE

protected static final QualifiedName VALUE
Constructor Detail

DefaultGetFeatureInfoHandler

public DefaultGetFeatureInfoHandler(WMSConfigurationType capabilities,
                                    GetFeatureInfo request)
                             throws OGCWebServiceException
Creates a new GetMapHandler object.

Parameters:
capabilities -
request - request to perform
Throws:
OGCWebServiceException
Method Detail

performGetFeatureInfo

public GetFeatureInfoResult performGetFeatureInfo()
                                           throws OGCWebServiceException
performs a GetFeatureInfo request and retruns the result encapsulated within a WMSFeatureInfoResponse object.

The method throws an WebServiceException that only shall be thrown if an fatal error occurs that makes it imposible to return a result. If something wents wrong performing the request (none fatal error) The exception shall be encapsulated within the response object to be returned to the client as requested (GetFeatureInfo-Request EXCEPTION-Parameter).

All sublayers of the queried layer will be added automatically. Non-queryable sublayers are then ignored in the response.

Specified by:
performGetFeatureInfo in interface GetFeatureInfoHandler
Returns:
response to the GetFeatureInfo response
Throws:
OGCWebServiceException

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org