public class GetFoiReaderV20 extends SWERequestReader<GetFeatureOfInterestRequest>
Provides methods to parse a KVP or SOAP/XML SOS GetFeatureOfInterest request and create a GetFeatureOfInterestRequest object for version 2.0
Modifier and Type | Field and Description |
---|---|
protected FESUtils |
fesUtils |
noKVP, noXML, owsVersion, versionRegex
invalidKVP, invalidReq, invalidValue, invalidXML, timeFormat
Constructor and Description |
---|
GetFoiReaderV20() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkParameters(GetFeatureOfInterestRequest request,
OWSExceptionReport report)
Checks that GetFeatureOfInterest mandatory parameters are present
|
GetFeatureOfInterestRequest |
readURLParameters(Map<String,String> queryParameters)
Decodes URL request parameters from the given map
|
GetFeatureOfInterestRequest |
readXMLQuery(DOMHelper dom,
Element requestElt)
Reads XML request parameters from the given element and using the given DOMHelper.
|
readCommonXML
addKVPExtension, checkParameters, checkParameters, readCommonQueryArguments, readURLQuery, readXMLQuery
parseBboxArg, parseQueryParameters, parseTimeArg, parseVector
protected FESUtils fesUtils
public GetFeatureOfInterestRequest readURLParameters(Map<String,String> queryParameters) throws OWSException
OWSRequestReader
readURLParameters
in interface OWSRequestReader<GetFeatureOfInterestRequest>
readURLParameters
in class AbstractRequestReader<GetFeatureOfInterestRequest>
queryParameters
- map containing a key value pair for each query parameterOWSException
public GetFeatureOfInterestRequest readXMLQuery(DOMHelper dom, Element requestElt) throws OWSException
OWSRequestReader
readXMLQuery
in interface OWSRequestReader<GetFeatureOfInterestRequest>
readXMLQuery
in class AbstractRequestReader<GetFeatureOfInterestRequest>
OWSException
protected void checkParameters(GetFeatureOfInterestRequest request, OWSExceptionReport report) throws OWSException
request
- OWSException
Copyright © 2016 Sensia Software LLC. All rights reserved.