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

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

Version:
$Revision: 25747 $, $Date: 2010-08-09 13:32:25 +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
Observation100XMLAdapter()
           
 
Method Summary
static void exportOMMeasurement(javax.xml.stream.XMLStreamWriter writer, org.deegree.observation.model.Observation observation)
          Export a MeasurementCollection as a O&M Measurement resultModel.
static void exportOMObservation(javax.xml.stream.XMLStreamWriter writer, org.deegree.observation.model.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, 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

Observation100XMLAdapter

public Observation100XMLAdapter()
Method Detail

exportOMObservation

public static void exportOMObservation(javax.xml.stream.XMLStreamWriter writer,
                                       org.deegree.observation.model.Observation observation)
                                throws javax.xml.stream.XMLStreamException
Export a MeasurementCollection as a O&M Observation resultModel.

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

exportOMMeasurement

public static void exportOMMeasurement(javax.xml.stream.XMLStreamWriter writer,
                                       org.deegree.observation.model.Observation observation)
                                throws javax.xml.stream.XMLStreamException
Export a MeasurementCollection as a O&M Measurement resultModel.

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


Copyright © 2011. All Rights Reserved.