public class PropertyIsNullOperatorTests extends QueryFilterFixture
PropertyIsNull filter predicate; this operator tests for the
existence of a specified feature property.
Sources
dataSampler, GET_FEATURE_MINIMAL, model, temporalPropertiesdocBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion| Constructor and Description |
|---|
PropertyIsNullOperatorTests() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addPropertyIsNullPredicate(Document request,
QName propertyName,
boolean negate)
Adds a
PropertyIsNull predicate to a GetFeature request entity
using the given property name. |
void |
gmlNameIsNull(ProtocolBinding binding,
QName featureType)
[
Test] Submits a GetFeature request containing a
PropertyIsNull predicate designating the gml:name property. |
void |
propertyIsNotNull(ProtocolBinding binding,
QName featureType)
[
Test] Submits a GetFeature request containing a
Not/PropertyIsNull predicate designating some feature property
(the last one in document order). |
buildRequestEntity, discardResponseEntity, findTemporalProperties, initQueryFilterFixtureaddAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClientpublic void gmlNameIsNull(ProtocolBinding binding, QName featureType)
Test] Submits a GetFeature request containing a
PropertyIsNull predicate designating the gml:name property. The
response entity must include only features that lack the specified
property.binding - The ProtocolBinding to use for this request.featureType - A QName representing the qualified name of some feature type.public void propertyIsNotNull(ProtocolBinding binding, QName featureType)
Test] Submits a GetFeature request containing a
Not/PropertyIsNull predicate designating some feature property
(the last one in document order). The response entity must include only
features that include the specified property.binding - The ProtocolBinding to use for this request.featureType - A QName representing the qualified name of some feature type.void addPropertyIsNullPredicate(Document request, QName propertyName, boolean negate)
PropertyIsNull predicate to a GetFeature request entity
using the given property name.
<Filter xmlns="http://www.opengis.net/fes/2.0">
<PropertyIsNull>
<ValueReference>tns:featureProperty</ValueReference>
</PropertyIsNull>
</Filter>
request - The request entity (/wfs:GetFeature).propertyName - A QName that specifies the feature property to check.negate - Negates the predicate by inserting a <Not> operator
(logical complement).Copyright © 2020 Open Geospatial Consortium. All rights reserved.