public class GetFeatureTestConditions extends Object
| Constructor and Description |
|---|
GetFeatureTestConditions() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkFeaturesMatchingFilter(Node featureCollection,
Node featureData)
Checks if all of the feature members matches the filter condition in the
feature data (PropertyIsEqualTo)
|
static boolean |
checkFeatureTypesDescribedInSchema(Node capabilitiesResponse,
Node describeFeatureTypeResponse)
Checks if all featureTypes in the capabilities document are available in
the DescribeFeatureType response
|
public static boolean checkFeaturesMatchingFilter(Node featureCollection, Node featureData) throws Exception
featureCollection - the GetFeature response, never nullfeatureData - the featureData used to request the features, never
nulltrue if at least one feature member does not match
the filter conditionor if the feature collection does not contain
a feature, false otherwiseException - if an error occurredpublic static boolean checkFeatureTypesDescribedInSchema(Node capabilitiesResponse, Node describeFeatureTypeResponse) throws Exception
capabilitiesResponse - never nulldescribeFeatureTypeResponse - never nulltrue if all feature types in the capabilities
document are available in the DescribeFeatureType response or the
capabilities document does not contain a feature type,
false otherwiseExceptionCopyright © 2021 Open Geospatial Consortium. All rights reserved.