Search in sources :

Example 1 with TimeInstantPropertyType

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);
}
Also used : TimeInstantPropertyType(net.opengis.gml.x32.TimeInstantPropertyType)

Example 2 with TimeInstantPropertyType

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;
}
Also used : TimeInstantPropertyType(net.opengis.gml.x32.TimeInstantPropertyType)

Aggregations

TimeInstantPropertyType (net.opengis.gml.x32.TimeInstantPropertyType)2