deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.feature
Interface FeatureCollection

All Superinterfaces:
Collection<Feature>, Feature, GMLObject, Iterable<Feature>, MatchableObject
All Known Subinterfaces:
StreamFeatureCollection
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 the common interpretation, e.g. in GML.

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)
          Returns the contained 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, getGeometryProperties, getId, getName, getProperties, getProperties, getProperties, getProperties, getProperty, getProperty, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, setId, setProperties, setProperties, setPropertyValue, setPropertyValue
 
Methods inherited from interface org.deegree.filter.MatchableObject
getPropertyValues
 
Methods inherited from interface org.deegree.gml.GMLObject
getGMLProperties
 
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)
                             throws FilterEvaluationException
Returns the contained features that match the given Filter.

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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>