Interface FeatureCollection

All Superinterfaces:
Collection<Feature>, Feature, GMLObject, Iterable<Feature>, Object, TypedObjectNode
All Known Implementing Classes:
AbstractFeatureCollection, GenericFeatureCollection

public interface FeatureCollection
extends Feature, Collection<Feature>

A feature collection is a collection of Feature instances.

Note that a FeatureCollection is a Feature itself, which complies to GML feature collection definitions.

$Revision: 13814 $, $Date: 2008-09-02 20:28:13 +0200 (Di, 02 Sep 2008) $
Markus Schneider, last edited by: $Author: mschneider $
See Also:

Method Summary
 FeatureCollection getMembers(Filter filter, XPathEvaluator<Feature> evaluator)
          Returns the member features that match the given Filter.
 FeatureCollectionType getType()
          Returns the type information for this feature collection.
Methods inherited from interface org.deegree.feature.Feature
getEnvelope, getExtraProperties, getGeometryProperties, getGMLProperties, getId, getName, getProperties, getProperties, getProperties, getProperties, getProperty, getProperty, setExtraProperties, setId, setProperties, setProperties, setPropertyValue, setPropertyValue
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray

Method Detail


FeatureCollectionType getType()
Returns the type information for this feature collection.

Specified by:
getType in interface Feature
the type information, never null


FeatureCollection getMembers(Filter filter,
                             XPathEvaluator<Feature> evaluator)
                             throws FilterEvaluationException
Returns the member features that match the given Filter.

filter - Filter to be applied, must not be null
evaluator - evaluator to use for evaluating XPath expressions, must not be null
matching feature instances as a new FeatureCollection
FilterEvaluationException - if an exception occurs during the evaluation of the Filter

Copyright © 2011. All Rights Reserved.