Interface WfsFeatureCollection
public interface WfsFeatureCollection
Represents the response to a GetFeature request, after the FeatureCollection's featureMembers
have been transformed into
Metacards.-
Method Summary
Modifier and TypeMethodDescriptionList<ddf.catalog.data.Metacard>Returns the feature members of the FeatureCollection, transformed intoMetacards.longReturns the value of the FeatureCollection's numberOfFeatures attribute if it is present; if it is not present then this method returns the size ofgetFeatureMembers().
-
Method Details
-
getNumberOfFeatures
long getNumberOfFeatures()Returns the value of the FeatureCollection's numberOfFeatures attribute if it is present; if it is not present then this method returns the size ofgetFeatureMembers().The numberOfFeatures attribute should be present in responses to GetFeature requests that have a result type of 'hits'. In this case, this method will return the total number of results as opposed to the number of results returned in this response.
- Returns:
- the value of the FeatureCollection's numberOfFeatures attribute if it is present; if it
is not present then this method returns the size of
getFeatureMembers().
-
getFeatureMembers
List<ddf.catalog.data.Metacard> getFeatureMembers()Returns the feature members of the FeatureCollection, transformed intoMetacards.See
FeatureTransformer,FeatureTransformationService, andFeatureConverterfor more information about how feature members are transformed.- Returns:
- the feature members of the FeatureCollection, transformed into
Metacards.
-