Package org.opengis.cite.wfs11
Class GetFeatureTestConditions
java.lang.Object
org.opengis.cite.wfs11.GetFeatureTestConditions
Contains some test conditions to extend ctl scripts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckFeaturesMatchingFilter(Node featureCollection, Node featureData) Checks if all of the feature members matches the filter condition in the feature data (PropertyIsEqualTo)static booleancheckFeatureTypesDescribedInSchema(Node capabilitiesResponse, Node describeFeatureTypeResponse) Checks if all featureTypes in the capabilities document are available in the DescribeFeatureType response
-
Constructor Details
-
GetFeatureTestConditions
public GetFeatureTestConditions()
-
-
Method Details
-
checkFeaturesMatchingFilter
public static boolean checkFeaturesMatchingFilter(Node featureCollection, Node featureData) throws Exception Checks if all of the feature members matches the filter condition in the feature data (PropertyIsEqualTo)- Parameters:
featureCollection- the GetFeature response, nevernullfeatureData- the featureData used to request the features, nevernull- Returns:
trueif at least one feature member does not match the filter conditionor if the feature collection does not contain a feature,falseotherwise- Throws:
Exception- if an error occurred
-
checkFeatureTypesDescribedInSchema
public static boolean checkFeatureTypesDescribedInSchema(Node capabilitiesResponse, Node describeFeatureTypeResponse) throws Exception Checks if all featureTypes in the capabilities document are available in the DescribeFeatureType response- Parameters:
capabilitiesResponse- nevernulldescribeFeatureTypeResponse- nevernull- Returns:
trueif all feature types in the capabilities document are available in the DescribeFeatureType response or the capabilities document does not contain a feature type,falseotherwise- Throws:
Exception
-