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 org.deegree.commons.xml.XMLAdapter

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.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
Capabilities100XMLAdapter()
           
 
Method Summary
static void export(javax.xml.stream.XMLStreamWriter xmlWriter, org.deegree.protocol.ows.capabilities.GetCapabilities request, ServiceIdentificationType identification, ServiceProviderType provider, java.util.List<java.lang.String> allowedOperations, java.util.Set<Capabilities100XMLAdapter.Sections> sections, java.util.List<WCSCoverage> coverages, DeegreeServicesMetadataType serviceMetadata, DeegreeServiceControllerType mainConf, javax.xml.stream.XMLStreamWriter writer, int updateSequence)
          Export a WCS Capabilities document from a list of ServiceConfiguration.Coverages.
static void exportAddress(javax.xml.stream.XMLStreamWriter writer, AddressType addressType, java.util.List<java.lang.String> emails)
          export an address type in wcs 1.0.0 style
static void exportCodeType(javax.xml.stream.XMLStreamWriter writer, CodeType ct)
          Code type to export
static void exportKeyword(javax.xml.stream.XMLStreamWriter writer, LanguageStringType lst)
           
static void exportKeywords(javax.xml.stream.XMLStreamWriter writer, java.util.List<KeywordsType> keywords)
          write a list of keywords in wcs 1.0.0 style.
static void exportMetadataLink(javax.xml.stream.XMLStreamWriter writer, java.lang.String type, java.lang.String link)
           
 
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(javax.xml.stream.XMLStreamWriter xmlWriter,
                          org.deegree.protocol.ows.capabilities.GetCapabilities request,
                          ServiceIdentificationType identification,
                          ServiceProviderType provider,
                          java.util.List<java.lang.String> allowedOperations,
                          java.util.Set<Capabilities100XMLAdapter.Sections> sections,
                          java.util.List<WCSCoverage> coverages,
                          DeegreeServicesMetadataType serviceMetadata,
                          DeegreeServiceControllerType mainConf,
                          javax.xml.stream.XMLStreamWriter writer,
                          int updateSequence)
                   throws javax.xml.stream.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:
javax.xml.stream.XMLStreamException

exportAddress

public static void exportAddress(javax.xml.stream.XMLStreamWriter writer,
                                 AddressType addressType,
                                 java.util.List<java.lang.String> emails)
                          throws javax.xml.stream.XMLStreamException
export an address type in wcs 1.0.0 style

Parameters:
writer -
addressType -
emails -
Throws:
javax.xml.stream.XMLStreamException

exportMetadataLink

public static void exportMetadataLink(javax.xml.stream.XMLStreamWriter writer,
                                      java.lang.String type,
                                      java.lang.String link)
                               throws javax.xml.stream.XMLStreamException
Parameters:
writer -
type -
link -
Throws:
javax.xml.stream.XMLStreamException

exportKeywords

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

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

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.