public class InsertResultTemplateWriterV20 extends SWERequestWriter<InsertResultTemplateRequest>
Provides methods to generate a KVP or XML SOS InsertResultTemplate request as defined in version 2.0 of the SOS standard using values contained in a InsertResultTemplateRequest object
Modifier and Type | Field and Description |
---|---|
protected ObservationWriterV20 |
obsWriter |
protected SWEUtils |
sweUtils |
ioError, noKVP, noXML, timeFormat
Constructor and Description |
---|
InsertResultTemplateWriterV20() |
Modifier and Type | Method and Description |
---|---|
Element |
buildXMLQuery(DOMHelper dom,
InsertResultTemplateRequest request)
Builds a DOM element containing the request XML
Note that the element is not yet appended to any parent.
|
addCommonXML
addCommonArgs, addCommonArgs, buildURLParameters, buildURLQuery, getExtensionKvpValue, getGmlBboxCoordsList, urlEncode, writeBboxArgument, writeBboxArgument, writeKvpExtensions, writeKVPExtensions, writeTimeArgument, writeXMLQuery
protected SWEUtils sweUtils
protected ObservationWriterV20 obsWriter
public Element buildXMLQuery(DOMHelper dom, InsertResultTemplateRequest request) throws OWSException
OWSRequestWriter
buildXMLQuery
in interface OWSRequestWriter<InsertResultTemplateRequest>
buildXMLQuery
in class AbstractRequestWriter<InsertResultTemplateRequest>
dom
- DOMHelper instance that will own the generated elementrequest
- OWs request objectOWSException
Copyright © 2016 Sensia Software LLC. All rights reserved.