public class GetMapReaderV10 extends AbstractRequestReader<GetMapRequest>
Provides methods to parse a KVP or XML GetMap request and create a GetMapRequest object for version 1.0
noKVP, noXML, owsVersion, versionRegex
invalidKVP, invalidReq, invalidValue, invalidXML, timeFormat
Constructor and Description |
---|
GetMapReaderV10() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkParameters(GetMapRequest request,
OWSExceptionReport report)
Checks that GetMap mandatory parameters are present
|
protected Color |
parseBgColor(String argValue)
Parses background color from RGB hexadecimal string (e.g.
|
GetMapRequest |
readURLParameters(Map<String,String> queryParameters)
Decodes URL request parameters from the given map
|
GetMapRequest |
readXMLQuery(DOMHelper dom,
Element requestElt)
Reads XML request parameters from the given element and using the given DOMHelper.
|
addKVPExtension, checkParameters, checkParameters, readCommonQueryArguments, readCommonXML, readURLQuery, readXMLQuery
parseBboxArg, parseQueryParameters, parseTimeArg, parseVector
public GetMapRequest readURLParameters(Map<String,String> queryParameters) throws OWSException
OWSRequestReader
readURLParameters
in interface OWSRequestReader<GetMapRequest>
readURLParameters
in class AbstractRequestReader<GetMapRequest>
queryParameters
- map containing a key value pair for each query parameterOWSException
public GetMapRequest readXMLQuery(DOMHelper dom, Element requestElt) throws OWSException
OWSRequestReader
readXMLQuery
in interface OWSRequestReader<GetMapRequest>
readXMLQuery
in class AbstractRequestReader<GetMapRequest>
OWSException
protected Color parseBgColor(String argValue)
argValue
- protected void checkParameters(GetMapRequest request, OWSExceptionReport report) throws OWSException
request
- OWSException
Copyright © 2016 Sensia Software LLC. All rights reserved.