deegree 2.3 (2010/04/09 10:10 build-4-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: 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 $

Field Summary
protected  DefaultGetMapHandler handler
          default get map handler
protected  double scaleDen
          scale denominator
 
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  OGCWebService 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
default get map handler


scaleDen

protected double scaleDen
scale denominator

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 OGCWebService getResponsibleService(AbstractLayer layer)
                                       throws OGCWebServiceException
Parameters:
layer -
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.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