public class SOSCapabilitiesWriterV20 extends SWESCapabilitiesWriterV20
Title:
Writes an SOS server capabilities document from
OWSServiceCapabilities and SOSOfferingCapabilities
objects for version 2.0
ioError, timeFormat, unsupportedVersion, xmlError
Constructor and Description |
---|
SOSCapabilitiesWriterV20() |
Modifier and Type | Method and Description |
---|---|
Element |
buildXMLResponse(DOMHelper dom,
OWSServiceCapabilities caps,
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. |
protected void |
writeContents(DOMHelper dom,
Element capsElt,
OWSServiceCapabilities serviceCaps,
String version) |
protected void |
writeFilterCapabilities(DOMHelper dom,
Element capsElt,
SOSServiceCapabilities serviceCaps) |
protected void |
writeInsertionCapabilities(DOMHelper dom,
Element capsElt,
SOSServiceCapabilities serviceCaps) |
addRelatedFeature, getCommonListEntries, writeCommonContentsProperties, writeCommonOfferingProperties
normalizeVersionString, writeIdentification, writeOperationsMetadata, writeRootAttributes, writeServiceIdentification, writeServiceProvider
buildXMLResponse, writeXMLResponse, writeXMLResponse
public Element buildXMLResponse(DOMHelper dom, OWSServiceCapabilities caps, String version) throws OWSException
OWSResponseWriter
buildXMLResponse
in interface OWSResponseWriter<OWSServiceCapabilities>
buildXMLResponse
in class AbstractResponseWriter<OWSServiceCapabilities>
dom
- DOMHelper instance that will own the generated elementcaps
- response object to serialize as XMLversion
- version of writer to useOWSException
protected void writeInsertionCapabilities(DOMHelper dom, Element capsElt, SOSServiceCapabilities serviceCaps) throws OWSException
OWSException
protected void writeFilterCapabilities(DOMHelper dom, Element capsElt, SOSServiceCapabilities serviceCaps) throws OWSException
OWSException
protected void writeContents(DOMHelper dom, Element capsElt, OWSServiceCapabilities serviceCaps, String version) throws OWSException
writeContents
in class OWSCapabilitiesWriterV11
OWSException
Copyright © 2016 Sensia Software LLC. All rights reserved.