public class BasicGetFeatureTests extends BaseFixture
docBuilder, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata
Constructor and Description |
---|
BasicGetFeatureTests() |
Modifier and Type | Method and Description |
---|---|
void |
buildRequestEntity()
Builds a DOM Document node representing the entity body for a GetFeature
request.
|
void |
buildValidator()
Creates a special XML Schema Validator that uses schema location hints
specified in an XML instance document.
|
void |
getFeaturesByType(ProtocolBinding binding,
QName featureType)
Submits a minimal GetFeature request for features of a specified type
(obtained from the capabilities document).
|
void |
resetValidator()
Resets the validator to its original configuration.
|
(package private) void |
setFeatureAvailability(FeatureTypeInfo featureInfo,
Document entity)
Sets the availability status of instances of a given feature type
according to the content of a GetFeature response entity.
|
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser
public void buildValidator()
public void buildRequestEntity()
public void resetValidator()
public void getFeaturesByType(ProtocolBinding binding, QName featureType)
binding
- A supported message binding.featureType
- A QName representing the qualified name of some feature type.void setFeatureAvailability(FeatureTypeInfo featureInfo, Document entity)
true
if the response entity contains at least one
instance.featureInfo
- A FeatureTypeInfo object that provides information about a
feature type.entity
- A GetFeature response entity (wfs:FeatureCollection).Copyright © 2013. All Rights Reserved.