org.deegree.protocol.wfs.query
Class FilterQuery

java.lang.Object
  extended by org.deegree.protocol.wfs.query.Query
      extended by org.deegree.protocol.wfs.query.AdHocQuery
          extended by org.deegree.protocol.wfs.query.FilterQuery

public class FilterQuery
extends AdHocQuery

A AdHocQuery that selects features using an optional Filter.

NOTE: XML-based queries are always of this type. Only for KVP requests it is possible to specify a BBOX or a FEATUREID parameter.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Constructor Summary
FilterQuery(QName typeName, ICRS srsName, SortProperty[] sortBy, Filter filter)
          Creates a new FilterQuery instance from the most commonly used parameters.
FilterQuery(String handle, TypeName[] typeNames, String featureVersion, ICRS srsName, ProjectionClause[] projectionClauses, SortProperty[] sortBy, Filter filter)
          Creates a new FilterQuery instance.
 
Method Summary
 Filter getFilter()
          Returns the filter constraint.
 
Methods inherited from class org.deegree.protocol.wfs.query.AdHocQuery
getFeatureVersion, getProjectionClauses, getSortBy, getSrsName, getTypeNames
 
Methods inherited from class org.deegree.protocol.wfs.query.Query
getHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterQuery

public FilterQuery(String handle,
                   TypeName[] typeNames,
                   String featureVersion,
                   ICRS srsName,
                   ProjectionClause[] projectionClauses,
                   SortProperty[] sortBy,
                   Filter filter)
Creates a new FilterQuery instance.

Parameters:
handle - client-generated query identifier, may be null
typeNames - requested feature types (with optional aliases), must not be null and must contain at least one entry
featureVersion - version of the feature instances to be retrieved, may be null
srsName - WFS-supported SRS that should be used for returned feature geometries, may be null
projectionClauses - limits the properties of the features that shall be returned, may be null (return all properties)
sortBy - properties whose values should be used to order the set of feature instances that satisfy the query, may be null
filter - filter constraint, may be null

FilterQuery

public FilterQuery(QName typeName,
                   ICRS srsName,
                   SortProperty[] sortBy,
                   Filter filter)
Creates a new FilterQuery instance from the most commonly used parameters.

Parameters:
typeName - requested feature type name, must not be null
srsName - WFS-supported SRS that should be used for returned feature geometries, may be null
sortBy - properties whose values should be used to order the set of feature instances that satisfy the query, may be null
filter - filter constraint, may be null
Method Detail

getFilter

public Filter getFilter()
Returns the filter constraint.

Returns:
the filter constraint, may be null


Copyright © 2011. All Rights Reserved.