Search in sources :

Example 6 with TimeInstantType

use of net.opengis.gml.x32.TimeInstantType in project ddf by codice.

the class WfsFilterDelegate method createTimeInstantType.

private TimeInstantType createTimeInstantType(String property, String type, String date) {
    TimeInstantType timeInstantType = gml320ObjectFactory.createTimeInstantType();
    timeInstantType.setTimePosition(createTimePositionType(date));
    timeInstantType.setId(type + "." + System.currentTimeMillis());
    return timeInstantType;
}
Also used : TimeInstantType(net.opengis.gml.v_3_2_1.TimeInstantType)

Example 7 with TimeInstantType

use of net.opengis.gml.x32.TimeInstantType in project arctic-sea by 52North.

the class GmlEncoderv321 method createTimeInstantType.

private TimeInstantType createTimeInstantType(TimeInstant timeInstant) throws EncodingException {
    TimeInstantType timeInstantType = TimeInstantType.Factory.newInstance(getXmlOptions());
    createTimeInstantType(timeInstant, timeInstantType);
    return timeInstantType;
}
Also used : TimeInstantType(net.opengis.gml.x32.TimeInstantType)

Aggregations

TimeInstantType (net.opengis.gml.v_3_2_1.TimeInstantType)6 BinaryTemporalOpType (net.opengis.filter.v_2_0_0.BinaryTemporalOpType)5 FilterType (net.opengis.filter.v_2_0_0.FilterType)5 Date (java.util.Date)4 TimePositionType (net.opengis.gml.v_3_2_1.TimePositionType)4 ArrayList (java.util.ArrayList)3 Test (org.junit.Test)3 TimePeriodType (net.opengis.gml.v_3_2_1.TimePeriodType)2 LineString (com.vividsolutions.jts.geom.LineString)1 Method (java.lang.reflect.Method)1 List (java.util.List)1 JAXBElement (javax.xml.bind.JAXBElement)1 BinaryLogicOpType (net.opengis.filter.v_2_0_0.BinaryLogicOpType)1 FilterCapabilities (net.opengis.filter.v_2_0_0.FilterCapabilities)1 TimeInstantType (net.opengis.gml.x32.TimeInstantType)1 DateTime (org.joda.time.DateTime)1