deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.ogcwebservices.wms
Class GetMapServiceInvoker

java.lang.Object
  extended by org.deegree.ogcwebservices.wms.GetMapServiceInvoker
Direct Known Subclasses:
GetMapServiceInvokerForNL, GetMapServiceInvokerForUL

public abstract class GetMapServiceInvoker
extends Object

Since:
2.0
Version:
$Revision: 9345 $, 1.0. $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Field Summary
protected  DefaultGetMapHandler handler
           
protected  double scaleDen
           
 
Constructor Summary
GetMapServiceInvoker(DefaultGetMapHandler handler, double scaleDen)
           
 
Method Summary
protected  Map<String,URI> extractNameSpaceDef(List<PropertyPath> pp)
          extracts all used namespace definitions from a set of PropertyPath's
protected  List<PropertyPath> findGeoProperties(AbstractLayer layer, FeatureTypeConstraint[] ftc, List<PropertyPath> pp)
          the method accesses the GML schema of the feature types being part of the passed FeatureTypeConstraints and extracts the geometry property definition.
protected  WFService getResponsibleService(AbstractLayer layer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

protected final DefaultGetMapHandler handler

scaleDen

protected double scaleDen
Constructor Detail

GetMapServiceInvoker

public GetMapServiceInvoker(DefaultGetMapHandler handler,
                            double scaleDen)
Parameters:
handler -
scaleDen -
Method Detail

findGeoProperties

protected List<PropertyPath> findGeoProperties(AbstractLayer layer,
                                               FeatureTypeConstraint[] ftc,
                                               List<PropertyPath> pp)
                                        throws OGCWebServiceException,
                                               IOException,
                                               SAXException,
                                               XMLSchemaException,
                                               XMLParsingException,
                                               UnknownCRSException
the method accesses the GML schema of the feature types being part of the passed FeatureTypeConstraints and extracts the geometry property definition. The names of the geometry properties will be added as PropertyPath's to passed list

Parameters:
layer -
ftc -
pp -
Returns:
the list of property paths
Throws:
OGCWebServiceException
SAXException
IOException
XMLParsingException
XMLSchemaException
UnknownCRSException

getResponsibleService

protected WFService getResponsibleService(AbstractLayer layer)
                                   throws OGCWebServiceException
Returns:
the service instance
Throws:
OGCWebServiceException - if no service could be found

extractNameSpaceDef

protected Map<String,URI> extractNameSpaceDef(List<PropertyPath> pp)
extracts all used namespace definitions from a set of PropertyPath's

Parameters:
pp -
Returns:
the used namespace definitions from a set of PropertyPath's

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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