public class GetResultReaderV20 extends SWERequestReader<GetResultRequest>
Provides methods to parse a KVP or SOAP/XML SOS GetResult request and create a GetResultRequest 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 |
---|
GetResultReaderV20() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkParameters(GetResultRequest request,
OWSExceptionReport report)
Checks that GetObservation mandatory parameters are present
|
GetResultRequest |
readURLParameters(Map<String,String> queryParameters)
Decodes URL request parameters from the given map
|
GetResultRequest |
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 GetResultRequest readURLParameters(Map<String,String> queryParameters) throws OWSException
OWSRequestReader
readURLParameters
in interface OWSRequestReader<GetResultRequest>
readURLParameters
in class AbstractRequestReader<GetResultRequest>
queryParameters
- map containing a key value pair for each query parameterOWSException
public GetResultRequest readXMLQuery(DOMHelper dom, Element requestElt) throws OWSException
OWSRequestReader
readXMLQuery
in interface OWSRequestReader<GetResultRequest>
readXMLQuery
in class AbstractRequestReader<GetResultRequest>
OWSException
protected void checkParameters(GetResultRequest request, OWSExceptionReport report) throws OWSException
request
- OWSException
Copyright © 2016 Sensia Software LLC. All rights reserved.