com.axiomalaska.sos.xmlbuilder
Class InsertObservationBuilder

java.lang.Object
  extended by com.axiomalaska.sos.xmlbuilder.SosXmlBuilder
      extended by com.axiomalaska.sos.xmlbuilder.InsertObservationBuilder

public class InsertObservationBuilder
extends SosXmlBuilder

Builds a SOS InsertObservation XML String with the ObservationCollection and station

Author:
Lance Finfrock

Constructor Summary
InsertObservationBuilder(SosStation station, SosSensor sensor, SosPhenomenon phenomenon, ObservationCollection observationCollection, IdCreator idCreator)
           
 
Method Summary
 java.lang.String build()
          Create InsertObservation XML example: urn:ioos:sensor:aoos:pilotrock:airtemp 2012-04-17T12:02:05-0000 2012-04-17T20:02:05-0000 resultComponents The sampling point at station: Anchorage Hillside - AOOS -143.0 63.0 3 foi_3234,2012-04-17T20:02:05-0000,10.0;foi_3234,2012-04-17T16:02:05-0000,11.0;foi_3234,2012-04-17T12:02:05-0000,12.0;
 
Methods inherited from class com.axiomalaska.sos.xmlbuilder.SosXmlBuilder
formatCalendarIntoGMTTime, getString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertObservationBuilder

public InsertObservationBuilder(SosStation station,
                                SosSensor sensor,
                                SosPhenomenon phenomenon,
                                ObservationCollection observationCollection,
                                IdCreator idCreator)
Method Detail

build

public java.lang.String build()
Create InsertObservation XML example: urn:ioos:sensor:aoos:pilotrock:airtemp 2012-04-17T12:02:05-0000 2012-04-17T20:02:05-0000 resultComponents The sampling point at station: Anchorage Hillside - AOOS -143.0 63.0 3 foi_3234,2012-04-17T20:02:05-0000,10.0;foi_3234,2012-04-17T16:02:05-0000,11.0;foi_3234,2012-04-17T12:02:05-0000,12.0;

Specified by:
build in class SosXmlBuilder


Copyright © 2012. All Rights Reserved.