org.deegree.services.wcs.capabilities
Class Capabilities100XMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.services.wcs.capabilities.Capabilities100XMLAdapter

public class Capabilities100XMLAdapter
extends XMLAdapter

Version:
$Revision: 31860 $, $Date: 2011-09-13 15:11:47 +0200 (Tue, 13 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.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
Capabilities100XMLAdapter()
           
 
Method Summary
static void export(XMLStreamWriter xmlWriter, GetCapabilities request, ServiceIdentificationType identification, ServiceProviderType provider, List<String> allowedOperations, Set<Capabilities100XMLAdapter.Sections> sections, List<WCSCoverage> coverages, DeegreeServicesMetadataType serviceMetadata, DeegreeServiceControllerType mainConf, XMLStreamWriter writer, int updateSequence)
          Export a WCS Capabilities document from a list of ServiceConfiguration.Coverages.
static void exportAddress(XMLStreamWriter writer, AddressType addressType, List<String> emails)
          export an address type in wcs 1.0.0 style
static void exportCodeType(XMLStreamWriter writer, CodeType ct)
          Code type to export
static void exportKeyword(XMLStreamWriter writer, LanguageStringType lst)
           
static void exportKeywords(XMLStreamWriter writer, List<KeywordsType> keywords)
          write a list of keywords in wcs 1.0.0 style.
static void exportMetadataLink(XMLStreamWriter writer, String type, String link)
           
 
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(XMLStreamWriter xmlWriter,
                          GetCapabilities request,
                          ServiceIdentificationType identification,
                          ServiceProviderType provider,
                          List<String> allowedOperations,
                          Set<Capabilities100XMLAdapter.Sections> sections,
                          List<WCSCoverage> coverages,
                          DeegreeServicesMetadataType serviceMetadata,
                          DeegreeServiceControllerType mainConf,
                          XMLStreamWriter writer,
                          int updateSequence)
                   throws XMLStreamException
Export a WCS Capabilities document from a list of ServiceConfiguration.Coverages.

Parameters:
allowedOperations -
provider -
identification -
request -
xmlWriter -
sections - the capabilities sections to export
coverages - all coverages of this WCS web service
serviceMetadata - metadata for the service
mainConf -
writer -
updateSequence - of this wcs
Throws:
XMLStreamException

exportAddress

public static void exportAddress(XMLStreamWriter writer,
                                 AddressType addressType,
                                 List<String> emails)
                          throws XMLStreamException
export an address type in wcs 1.0.0 style

Parameters:
writer -
addressType -
emails -
Throws:
XMLStreamException

exportMetadataLink

public static void exportMetadataLink(XMLStreamWriter writer,
                                      String type,
                                      String link)
                               throws XMLStreamException
Parameters:
writer -
type -
link -
Throws:
XMLStreamException

exportKeywords

public static void exportKeywords(XMLStreamWriter writer,
                                  List<KeywordsType> keywords)
                           throws XMLStreamException
write a list of keywords in wcs 1.0.0 style.

Parameters:
writer -
keywords -
Throws:
XMLStreamException

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.