org.deegree.services.wfs
Class GetFeatureAnalyzer

java.lang.Object
  extended by org.deegree.services.wfs.GetFeatureAnalyzer

public class GetFeatureAnalyzer
extends java.lang.Object

Responsible for validating the queries contained in GetFeature requests and generating a corresponding sequence of feature store queries.

Also performs some normalizing on the values of PropertyNames. TODO describe strategy

Version:
$Revision: 29811 $, $Date: 2011-02-28 16:20:17 +0100 (Mo, 28. Feb 2011) $
Author:
Markus Schneider, last edited by: $Author: aschmitz $

Constructor Summary
GetFeatureAnalyzer(org.deegree.protocol.wfs.getfeature.GetFeature request, WFSController controller, WFService service, org.deegree.gml.GMLVersion outputFormat, boolean checkInputDomain)
          Creates a new GetFeatureAnalyzer.
 
Method Summary
 java.util.Collection<org.deegree.feature.types.FeatureType> getFeatureTypes()
          Returns all FeatureTypes that may be returned in the response to the request.
 java.util.Map<org.deegree.feature.persistence.FeatureStore,java.util.List<org.deegree.feature.persistence.query.Query>> getQueries()
          Returns the feature store queries that have to performed for this request.
 org.deegree.cs.CRS getRequestedCRS()
          Returns the crs that the returned geometries should have.
 org.deegree.filter.expression.PropertyName[] getRequestedProps()
          Returns the features properties to be included in the output.
 org.deegree.protocol.wfs.getfeature.XLinkPropertyName[] getXLinkProps()
          Returns the specific XLink-behaviour for features properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetFeatureAnalyzer

public GetFeatureAnalyzer(org.deegree.protocol.wfs.getfeature.GetFeature request,
                          WFSController controller,
                          WFService service,
                          org.deegree.gml.GMLVersion outputFormat,
                          boolean checkInputDomain)
                   throws OWSException
Creates a new GetFeatureAnalyzer.

Parameters:
request - get feature request to be performed, must not be null
service - WFService to be used, must not be null
outputFormat - output format, must not be null
checkInputDomain - true, if geometries in query constraints should be checked against validity domain of the SRS (needed for CITE 1.1.0 compliance)
Throws:
OWSException - if the request cannot be performed, e.g. because it queries feature types that are not served
Method Detail

getFeatureTypes

public java.util.Collection<org.deegree.feature.types.FeatureType> getFeatureTypes()
Returns all FeatureTypes that may be returned in the response to the request.

Returns:
list of requested feature types, or null if any of the feature types served by the WFS could be returned (happens only for KVP-request with feature ids and without typenames)

getQueries

public java.util.Map<org.deegree.feature.persistence.FeatureStore,java.util.List<org.deegree.feature.persistence.query.Query>> getQueries()
Returns the feature store queries that have to performed for this request.

Returns:
the feature store queries that have to performed, never null

getRequestedCRS

public org.deegree.cs.CRS getRequestedCRS()
Returns the crs that the returned geometries should have. TODO what about multiple queries with different CRS

Returns:
the crs, or null (use native crs)

getRequestedProps

public org.deegree.filter.expression.PropertyName[] getRequestedProps()
Returns the features properties to be included in the output. TODO what about multiple queries that specify different sets of properties

Returns:
features properties to be include or null (include all properties)

getXLinkProps

public org.deegree.protocol.wfs.getfeature.XLinkPropertyName[] getXLinkProps()
Returns the specific XLink-behaviour for features properties. TODO what about multiple queries that specify different sets of properties

Returns:
specific XLink-behaviour or null (no specific behaviour)


Copyright © 2011. All Rights Reserved.