deegree 2.5 (2011/06/29 09:44 build-8-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 java.lang.Object

Since:
2.0
Version:
$Revision: 21877 $, 1.0. $Revision: 21877 $, $Date: 2010-01-12 09:03:37 +0100 (Di, 12 Jan 2010) $
Author:
Andreas Poth, last edited by: $Author: aschmitz $

Field Summary
protected  DefaultGetMapHandler handler
          default get map handler
protected  double scaleDen
          scale denominator
 
Constructor Summary
GetMapServiceInvoker(DefaultGetMapHandler handler, double scaleDen)
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.net.URI> extractNameSpaceDef(java.util.List<PropertyPath> pp)
          extracts all used namespace definitions from a set of PropertyPath's
protected  java.util.List<PropertyPath> findGeoProperties(AbstractLayer layer, FeatureTypeConstraint[] ftc, java.util.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 java.util.List<PropertyPath> findGeoProperties(AbstractLayer layer,
                                                         FeatureTypeConstraint[] ftc,
                                                         java.util.List<PropertyPath> pp)
                                                  throws OGCWebServiceException,
                                                         java.io.IOException,
                                                         org.xml.sax.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
org.xml.sax.SAXException
java.io.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 java.util.Map<java.lang.String,java.net.URI> extractNameSpaceDef(java.util.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.5 (2011/06/29 09:44 build-8-official)

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