public class PropertyIsNullOperatorTests extends QueryFilterFixture
PropertyIsNull
filter predicate; this operator tests for the
existence of a specified feature property.
dataSampler, GET_FEATURE_ENTITY, model
docBuilder, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata
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, initQueryFilterFixture
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser
public 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 © 2013. All Rights Reserved.