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.controller.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: 28066 $, $Date: 2010-11-12 12:13:29 +0100 (Fr, 12. Nov 2010) $
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(java.util.Set<Capabilities100XMLAdapter.Sections> sections, java.util.List<org.deegree.observation.model.Offering> offerings, DeegreeServicesMetadataType serviceMetadata, ServiceIdentificationType identification, javax.xml.stream.XMLStreamWriter writer)
          Export an SOS Capabilities document from a list of ObservationOfferings.
static void exportCodeType(javax.xml.stream.XMLStreamWriter writer, CodeType ct)
          Code type to export
static void exportKeyword(javax.xml.stream.XMLStreamWriter writer, LanguageStringType lst)
           
 
Methods inherited from class org.deegree.services.controller.ows.capabilities.OWSCapabilitiesXMLAdapter
exportDCP, exportDCP100, exportDCP110, 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, 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, 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(java.util.Set<Capabilities100XMLAdapter.Sections> sections,
                          java.util.List<org.deegree.observation.model.Offering> offerings,
                          DeegreeServicesMetadataType serviceMetadata,
                          ServiceIdentificationType identification,
                          javax.xml.stream.XMLStreamWriter writer)
                   throws javax.xml.stream.XMLStreamException,
                          org.deegree.observation.persistence.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:
javax.xml.stream.XMLStreamException
org.deegree.observation.persistence.ObservationDatastoreException

exportKeyword

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

exportCodeType

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

Parameters:
writer -
ct -
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2011. All Rights Reserved.