org.deegree.services.sos.getobservation
Class Observation100XMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.services.sos.getobservation.Observation100XMLAdapter

public class Observation100XMLAdapter
extends XMLAdapter

This is an xml adapter for the O&M 1.0.0 spec.

Version:
$Revision: 28764 $, $Date: 2010-12-14 13:48:32 +0100 (Tue, 14 Dec 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
Observation100XMLAdapter()
           
 
Method Summary
static void exportOMMeasurement(XMLStreamWriter writer, Observation observation)
          Export a MeasurementCollection as a O&M Measurement resultModel.
static void exportOMObservation(XMLStreamWriter writer, Observation observation)
          Export a MeasurementCollection as a O&M Observation resultModel.
 
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

Observation100XMLAdapter

public Observation100XMLAdapter()
Method Detail

exportOMObservation

public static void exportOMObservation(XMLStreamWriter writer,
                                       Observation observation)
                                throws XMLStreamException
Export a MeasurementCollection as a O&M Observation resultModel.

Parameters:
writer -
observation -
Throws:
XMLStreamException

exportOMMeasurement

public static void exportOMMeasurement(XMLStreamWriter writer,
                                       Observation observation)
                                throws XMLStreamException
Export a MeasurementCollection as a O&M Measurement resultModel.

Parameters:
writer -
observation -
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.