public class GetResultTemplateResponseWriterV20 extends SWEResponseWriter<GetResultTemplateResponse>
Writer to generate an XML GetResultTemplate response based on values contained in a GetResultTemplateResponse object for SOS v2.0
Modifier and Type | Field and Description |
---|---|
protected SWEUtils |
sweUtils |
ioError, timeFormat, unsupportedVersion, xmlError
Constructor and Description |
---|
GetResultTemplateResponseWriterV20() |
Modifier and Type | Method and Description |
---|---|
Element |
buildXMLResponse(DOMHelper dom,
GetResultTemplateResponse response,
String version)
Builds a DOM element containing the response XML for the given version.
Note that the element is not yet appended to any parent. |
writeExtensions
buildXMLResponse, writeXMLResponse, writeXMLResponse
protected SWEUtils sweUtils
public Element buildXMLResponse(DOMHelper dom, GetResultTemplateResponse response, String version) throws OWSException
OWSResponseWriter
buildXMLResponse
in interface OWSResponseWriter<GetResultTemplateResponse>
buildXMLResponse
in class AbstractResponseWriter<GetResultTemplateResponse>
dom
- DOMHelper instance that will own the generated elementresponse
- response object to serialize as XMLversion
- version of writer to useOWSException
Copyright © 2016 Sensia Software LLC. All rights reserved.