org.deegree.services.wcs.describecoverage
Class CoverageDescription100XMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.services.wcs.describecoverage.CoverageDescription100XMLAdapter

public class CoverageDescription100XMLAdapter
extends org.deegree.commons.xml.XMLAdapter

This is an XMLAdapter for the CoverageDescription of the WCS 1.0.0 spec.

Version:
$Revision: 25749 $, $Date: 2010-08-09 13:34:58 +0200 (Mo, 09. Aug 2010) $
Author:
Oliver Tonnhofer, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
CoverageDescription100XMLAdapter()
           
 
Method Summary
static void export(javax.xml.stream.XMLStreamWriter writer, java.util.List<WCSCoverage> coverages, int updateSequence)
           
protected static void exportAxisDescriptions(javax.xml.stream.XMLStreamWriter writer, java.util.List<org.deegree.coverage.rangeset.AxisSubset> axisDescriptions)
           
static void exportBriefCoverageData(javax.xml.stream.XMLStreamWriter writer, WCSCoverage coverage)
          Writes common base data of the coverage like name, lable, lonLatEnvelope.
protected static void exportInterval(javax.xml.stream.XMLStreamWriter writer, org.deegree.coverage.rangeset.Interval<?,?> interval)
           
protected static void exportIntervals(javax.xml.stream.XMLStreamWriter writer, java.util.List<org.deegree.coverage.rangeset.Interval<?,?>> intervals)
          Export a list of intervals.
protected static void exportNullValues(javax.xml.stream.XMLStreamWriter writer, org.deegree.coverage.rangeset.SingleValue<?> nullValue)
           
protected static void exportRangeSet(javax.xml.stream.XMLStreamWriter writer, WCSCoverage coverage)
          Export the range set from the given coverage.
protected static void exportSingleValueType(javax.xml.stream.XMLStreamWriter writer, org.deegree.coverage.rangeset.SingleValue<?> singleValue, java.lang.String elementName)
           
 
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

CoverageDescription100XMLAdapter

public CoverageDescription100XMLAdapter()
Method Detail

export

public static void export(javax.xml.stream.XMLStreamWriter writer,
                          java.util.List<WCSCoverage> coverages,
                          int updateSequence)
                   throws javax.xml.stream.XMLStreamException
Parameters:
writer -
coverages -
updateSequence -
Throws:
javax.xml.stream.XMLStreamException

exportRangeSet

protected static void exportRangeSet(javax.xml.stream.XMLStreamWriter writer,
                                     WCSCoverage coverage)
                              throws javax.xml.stream.XMLStreamException
Export the range set from the given coverage.

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

exportNullValues

protected static void exportNullValues(javax.xml.stream.XMLStreamWriter writer,
                                       org.deegree.coverage.rangeset.SingleValue<?> nullValue)
                                throws javax.xml.stream.XMLStreamException
Parameters:
writer -
nullValue -
Throws:
javax.xml.stream.XMLStreamException

exportSingleValueType

protected static void exportSingleValueType(javax.xml.stream.XMLStreamWriter writer,
                                            org.deegree.coverage.rangeset.SingleValue<?> singleValue,
                                            java.lang.String elementName)
                                     throws javax.xml.stream.XMLStreamException
Parameters:
writer -
singleValue -
elementName -
Throws:
javax.xml.stream.XMLStreamException

exportAxisDescriptions

protected static void exportAxisDescriptions(javax.xml.stream.XMLStreamWriter writer,
                                             java.util.List<org.deegree.coverage.rangeset.AxisSubset> axisDescriptions)
                                      throws javax.xml.stream.XMLStreamException
Parameters:
writer -
axisDescriptions -
Throws:
javax.xml.stream.XMLStreamException

exportIntervals

protected static void exportIntervals(javax.xml.stream.XMLStreamWriter writer,
                                      java.util.List<org.deegree.coverage.rangeset.Interval<?,?>> intervals)
                               throws javax.xml.stream.XMLStreamException
Export a list of intervals.

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

exportInterval

protected static void exportInterval(javax.xml.stream.XMLStreamWriter writer,
                                     org.deegree.coverage.rangeset.Interval<?,?> interval)
                              throws javax.xml.stream.XMLStreamException
Parameters:
writer -
interval -
Throws:
javax.xml.stream.XMLStreamException

exportBriefCoverageData

public static void exportBriefCoverageData(javax.xml.stream.XMLStreamWriter writer,
                                           WCSCoverage coverage)
                                    throws javax.xml.stream.XMLStreamException
Writes common base data of the coverage like name, lable, lonLatEnvelope.

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


Copyright © 2011. All Rights Reserved.