org.deegree.services.sos.capabilities
Class Capabilities100XMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.protocol.ows.OWSCommonXMLAdapter
          extended by org.deegree.services.ows.capabilities.OWSCapabilitiesXMLAdapter
              extended by org.deegree.services.sos.capabilities.Capabilities100XMLAdapter

public class Capabilities100XMLAdapter
extends OWSCapabilitiesXMLAdapter

This is an xml adapter for SOS 1.0.0 Capabilities documents.

Version:
$Revision: 31896 $, $Date: 2011-09-15 15:12:23 +0200 (Thu, 15 Sep 2011) $
Author:
Oliver Tonnhofer, last edited by: $Author: mschneider $

Nested Class Summary
static class Capabilities100XMLAdapter.Sections
          The sections of the Capabilities document.
 
Field Summary
 
Fields inherited from class org.deegree.protocol.ows.OWSCommonXMLAdapter
OWS110_NS, OWS110_PREFIX, XML_NS, XML_PREFIX
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
Capabilities100XMLAdapter()
           
 
Method Summary
static void export(Set<Capabilities100XMLAdapter.Sections> sections, List<Offering> offerings, DeegreeServicesMetadataType serviceMetadata, ServiceIdentificationType identification, XMLStreamWriter writer)
          Export an SOS Capabilities document from a list of ObservationOfferings.
static void exportCodeType(XMLStreamWriter writer, CodeType ct)
          Code type to export
static void exportKeyword(XMLStreamWriter writer, LanguageStringType lst)
           
 
Methods inherited from class org.deegree.services.ows.capabilities.OWSCapabilitiesXMLAdapter
exportDCP, exportDCP, exportDomainType100, exportDomainType110, exportKeyWords110, exportOperationsMetadata100, exportOperationsMetadata110, exportServiceIdentification100, exportServiceIdentification110, exportServiceProvider100, exportServiceProvider110, exportSimpleStrings
 
Methods inherited from class org.deegree.protocol.ows.OWSCommonXMLAdapter
exportBoundingBoxType, exportCoordinateList, exportPositionType, parseBoundingBoxType
 
Methods inherited from class org.deegree.commons.xml.XMLAdapter
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBigInt, getNodeAsBoolean, getNodeAsDouble, getNodeAsFloat, getNodeAsInt, getNodeAsQName, getNodeAsString, getNodeAsURL, getNodeAsVersion, getNodes, getNodesAsQNames, getNodesAsStrings, getRequiredElement, getRequiredElements, getRequiredNode, getRequiredNodeAsBoolean, getRequiredNodeAsDouble, getRequiredNodeAsFloat, getRequiredNodeAsInteger, getRequiredNodeAsQName, getRequiredNodeAsString, getRequiredNodeAsURL, getRequiredNodeAsVersion, getRequiredNodes, getRootElement, getSchemas, getSystemId, hasSchemas, load, load, load, load, load, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Capabilities100XMLAdapter

public Capabilities100XMLAdapter()
Method Detail

export

public static void export(Set<Capabilities100XMLAdapter.Sections> sections,
                          List<Offering> offerings,
                          DeegreeServicesMetadataType serviceMetadata,
                          ServiceIdentificationType identification,
                          XMLStreamWriter writer)
                   throws XMLStreamException,
                          ObservationDatastoreException
Export an SOS Capabilities document from a list of ObservationOfferings.

Parameters:
sections -
offerings - all offerings of this SOS web service
serviceMetadata - metadata for the service
writer -
Throws:
XMLStreamException
ObservationDatastoreException

exportKeyword

public static void exportKeyword(XMLStreamWriter writer,
                                 LanguageStringType lst)
                          throws XMLStreamException
Parameters:
writer -
lst -
Throws:
XMLStreamException

exportCodeType

public static void exportCodeType(XMLStreamWriter writer,
                                  CodeType ct)
                           throws XMLStreamException
Code type to export

Parameters:
writer -
ct -
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.