Package org.geotools.data.wfs.internal
Class WFSContentComplexFeatureCollection
- All Implemented Interfaces:
FeatureCollection<FeatureType,
Feature>
Feature collection for parsing complex features.
- Author:
- Adam Brown (Curtin University of Technology), Rini Angreani (CSIRO Earth Science and Resource Engineering)
-
Field Summary
Fields inherited from class BaseFeatureCollection
id
-
Constructor Summary
ConstructorsConstructorDescriptionWFSContentComplexFeatureCollection
(GetFeatureRequest request, FeatureType schema, QName name, Filter filter, WFSClient client) Making a feature collection based on a request for a type with a filter.WFSContentComplexFeatureCollection
(GetFeatureRequest request, FeatureType schema, QName name, WFSClient client) Making a feature collection based on a request for a type without any filter. -
Method Summary
Modifier and TypeMethodDescriptionfeatures()
Make sure to close the iterator.The schema for the child feature members of this collection.subCollection
(Filter filter) Issue a new request for subCollection
-
Constructor Details
-
WFSContentComplexFeatureCollection
public WFSContentComplexFeatureCollection(GetFeatureRequest request, FeatureType schema, QName name, WFSClient client) Making a feature collection based on a request for a type without any filter. -
WFSContentComplexFeatureCollection
public WFSContentComplexFeatureCollection(GetFeatureRequest request, FeatureType schema, QName name, Filter filter, WFSClient client) Making a feature collection based on a request for a type with a filter.
-
-
Method Details
-
features
Make sure to close the iterator.- Specified by:
features
in interfaceFeatureCollection<FeatureType,
Feature> - Specified by:
features
in classBaseFeatureCollection<FeatureType,
Feature> - Returns:
- A FeatureIterator.
-
getSchema
Description copied from interface:FeatureCollection
The schema for the child feature members of this collection.Represents the most general FeatureType in common to all the features in this collection.
- For a collection backed by a shapefiles (or database tables) the FeatureType returned by getSchema() will complete describe each and every child in the collection.
- For mixed content FeatureCollections you will need to check the FeatureType of each Feature as it is retrived from the collection
- The degenerate case returns the "_Feature" FeatureType, where the only thing known is that the contents are Features.
- Specified by:
getSchema
in interfaceFeatureCollection<FeatureType,
Feature> - Overrides:
getSchema
in classBaseFeatureCollection<FeatureType,
Feature> - Returns:
- FeatureType describing the "common" schema to all child features of this collection
-
subCollection
Issue a new request for subCollection- Specified by:
subCollection
in interfaceFeatureCollection<FeatureType,
Feature> - Overrides:
subCollection
in classBaseFeatureCollection<FeatureType,
Feature> - Returns:
- SimpleFeatureCollection identified as subset.
- See Also:
-
FeatureList
-