public abstract class OWSCapabilitiesWriterV0 extends AbstractResponseWriter<OWSServiceCapabilities>
Base writer for all service capabilities based on the pre-version of OWS common (here called v0)
ioError, timeFormat, unsupportedVersion, xmlError
Constructor and Description |
---|
OWSCapabilitiesWriterV0() |
Modifier and Type | Method and Description |
---|---|
protected void |
writeCapability(DOMHelper dom,
Element capsElt,
OWSServiceCapabilities caps)
Writes the whole OperationsMetadata section
|
protected abstract void |
writeContents(DOMHelper dom,
Element capsElt,
OWSServiceCapabilities caps,
String version) |
static void |
writeIdentification(DOMHelper dom,
Element parentElt,
OWSIdentification identification)
Append elements defined in ows:DescriptionType to parent element
|
static void |
writeKeywords(DOMHelper dom,
Element parentElt,
OWSIdentification identification)
Append keyword list to parent parent element
|
static void |
writeResponsibleParty(DOMHelper dom,
Element capsElt,
ResponsibleParty provider)
Writes the whole ServiceProvider section
|
protected void |
writeRootAttributes(DOMHelper dom,
Element capsElt,
OWSServiceCapabilities caps,
String version)
Writes version and updateSequence attributes on root Capabilities elt
|
protected void |
writeService(DOMHelper dom,
Element capsElt,
OWSServiceCapabilities caps)
Writes the whole ServiceIdentification section
|
buildXMLResponse, buildXMLResponse, writeXMLResponse, writeXMLResponse
protected abstract void writeContents(DOMHelper dom, Element capsElt, OWSServiceCapabilities caps, String version) throws OWSException
OWSException
protected void writeRootAttributes(DOMHelper dom, Element capsElt, OWSServiceCapabilities caps, String version)
dom
- capsElt
- caps
- protected void writeService(DOMHelper dom, Element capsElt, OWSServiceCapabilities caps)
dom
- capsElt
- caps
- public static void writeIdentification(DOMHelper dom, Element parentElt, OWSIdentification identification)
dom
- parentElt
- identification
- public static void writeKeywords(DOMHelper dom, Element parentElt, OWSIdentification identification)
dom
- parentElt
- identification
- public static void writeResponsibleParty(DOMHelper dom, Element capsElt, ResponsibleParty provider)
dom
- capsElt
- provider
- protected void writeCapability(DOMHelper dom, Element capsElt, OWSServiceCapabilities caps)
dom
- capsElt
- caps
- Copyright © 2016 Sensia Software LLC. All rights reserved.