Class TM_Primitive.Since2014

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<TM_Primitive,org.opengis.temporal.TemporalPrimitive>
org.apache.sis.internal.jaxb.gml.TM_Primitive
org.apache.sis.internal.jaxb.gml.TM_Primitive.Since2014
Enclosing class:
TM_Primitive

public static final class TM_Primitive.Since2014 extends TM_Primitive
Wraps the value only if marshalling ISO 19115-3 element. Otherwise (i.e. if marshalling a legacy ISO 19139:2007 document), omit the element.
  • Constructor Details

    • Since2014

      public Since2014()
      Empty constructor used only by JAXB.
  • Method Details

    • wrap

      protected TM_Primitive wrap(org.opengis.temporal.TemporalPrimitive value)
      Wraps the given value in an ISO 19115-3 element, unless we are marshalling an older document.
      Overrides:
      wrap in class TM_Primitive
      Parameters:
      value - the value to marshal.
      Returns:
      a non-null value only if marshalling ISO 19115-3 or newer.