org.deegree.feature
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.

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

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

getType

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

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

getMembers

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

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


Copyright © 2011. All Rights Reserved.