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 XMLAdapter

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

Version:
$Revision: 29660 $, $Date: 2011-02-14 11:23:38 +0100 (Mon, 14 Feb 2011) $
Author:
Oliver Tonnhofer, last edited by: $Author: aschmitz $

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(XMLStreamWriter writer, List<WCSCoverage> coverages, int updateSequence)
           
protected static void exportAxisDescriptions(XMLStreamWriter writer, List<AxisSubset> axisDescriptions)
           
static void exportBriefCoverageData(XMLStreamWriter writer, WCSCoverage coverage)
          Writes common base data of the coverage like name, lable, lonLatEnvelope.
protected static void exportInterval(XMLStreamWriter writer, Interval<?,?> interval)
           
protected static void exportIntervals(XMLStreamWriter writer, List<Interval<?,?>> intervals)
          Export a list of intervals.
protected static void exportNullValues(XMLStreamWriter writer, SingleValue<?> nullValue)
           
protected static void exportRangeSet(XMLStreamWriter writer, WCSCoverage coverage)
          Export the range set from the given coverage.
protected static void exportSingleValueType(XMLStreamWriter writer, SingleValue<?> singleValue, String elementName)
           
 
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

CoverageDescription100XMLAdapter

public CoverageDescription100XMLAdapter()
Method Detail

export

public static void export(XMLStreamWriter writer,
                          List<WCSCoverage> coverages,
                          int updateSequence)
                   throws XMLStreamException
Parameters:
writer -
coverages -
updateSequence -
Throws:
XMLStreamException

exportRangeSet

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

Parameters:
writer -
coverage -
Throws:
XMLStreamException

exportNullValues

protected static void exportNullValues(XMLStreamWriter writer,
                                       SingleValue<?> nullValue)
                                throws XMLStreamException
Parameters:
writer -
nullValue -
Throws:
XMLStreamException

exportSingleValueType

protected static void exportSingleValueType(XMLStreamWriter writer,
                                            SingleValue<?> singleValue,
                                            String elementName)
                                     throws XMLStreamException
Parameters:
writer -
singleValue -
elementName -
Throws:
XMLStreamException

exportAxisDescriptions

protected static void exportAxisDescriptions(XMLStreamWriter writer,
                                             List<AxisSubset> axisDescriptions)
                                      throws XMLStreamException
Parameters:
writer -
axisDescriptions -
Throws:
XMLStreamException

exportIntervals

protected static void exportIntervals(XMLStreamWriter writer,
                                      List<Interval<?,?>> intervals)
                               throws XMLStreamException
Export a list of intervals.

Parameters:
writer -
intervals -
Throws:
XMLStreamException

exportInterval

protected static void exportInterval(XMLStreamWriter writer,
                                     Interval<?,?> interval)
                              throws XMLStreamException
Parameters:
writer -
interval -
Throws:
XMLStreamException

exportBriefCoverageData

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

Parameters:
writer -
coverage -
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.