public class InsertResultResponseWriterV20 extends SWEResponseWriter<InsertResultResponse>
Writer to generate an XML InsertResult response based on values contained in a InsertResultResponse object for SOS v2.0
ioError, timeFormat, unsupportedVersion, xmlError
Constructor and Description |
---|
InsertResultResponseWriterV20() |
Modifier and Type | Method and Description |
---|---|
Element |
buildXMLResponse(DOMHelper dom,
InsertResultResponse 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
public Element buildXMLResponse(DOMHelper dom, InsertResultResponse response, String version) throws OWSException
OWSResponseWriter
buildXMLResponse
in interface OWSResponseWriter<InsertResultResponse>
buildXMLResponse
in class AbstractResponseWriter<InsertResultResponse>
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.