use of net.opengis.gml.x32.TimeInstantPropertyType in project arctic-sea by 52North.
the class OmEncoderv20 method addNilResultTime.
private void addNilResultTime(OMObservationType xbObservationTemplate) {
TimeInstantPropertyType xbResultTime = xbObservationTemplate.addNewResultTime();
xbResultTime.setNilReason(NIL_REASON_TEMPLATE);
}
use of net.opengis.gml.x32.TimeInstantPropertyType in project arctic-sea by 52North.
the class GmlEncoderv321 method createTimeInstantPropertyType.
private XmlObject createTimeInstantPropertyType(TimeInstant time) throws EncodingException {
TimeInstantPropertyType timeInstantPropertyType = TimeInstantPropertyType.Factory.newInstance(getXmlOptions());
createTimeInstantType(time, timeInstantPropertyType.addNewTimeInstant());
return timeInstantPropertyType;
}
Aggregations