use of net.opengis.om.x10.CategoryObservationType in project arctic-sea by 52North.
the class OmEncoderv100 method createCategoryObservation.
private XmlObject createCategoryObservation(OmObservation sosObservation, EncodingContext additionalValues) throws EncodingException {
CategoryObservationDocument xbCategoryObservationDoc = CategoryObservationDocument.Factory.newInstance(getXmlOptions());
CategoryObservationType xbObs = xbCategoryObservationDoc.addNewCategoryObservation();
addValuesToObservation(xbObs, sosObservation, additionalValues);
addSingleObservationToResult(xbObs.addNewResult(), sosObservation);
return xbCategoryObservationDoc;
}
Aggregations