Class CD_TemporalDatum

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<CD_TemporalDatum,org.opengis.referencing.datum.TemporalDatum>
org.apache.sis.internal.jaxb.gco.PropertyType<CD_TemporalDatum,org.opengis.referencing.datum.TemporalDatum>
org.apache.sis.internal.jaxb.referencing.CD_TemporalDatum

public final class CD_TemporalDatum extends PropertyType<CD_TemporalDatum,org.opengis.referencing.datum.TemporalDatum>
JAXB adapter mapping implementing class to the GeoAPI interface. See package documentation for more information about JAXB and interface.
Since:
0.4
Version:
0.7
  • Constructor Details

    • CD_TemporalDatum

      public CD_TemporalDatum()
      Empty constructor for JAXB only.
    • CD_TemporalDatum

      private CD_TemporalDatum(org.opengis.referencing.datum.TemporalDatum datum)
      Constructor for the wrap(org.opengis.referencing.datum.TemporalDatum) method only.
  • Method Details

    • getBoundType

      protected Class<org.opengis.referencing.datum.TemporalDatum> getBoundType()
      Returns the GeoAPI interface which is bound by this adapter. This method is indirectly invoked by the private constructor below, so it shall not depend on the state of this object.
      Specified by:
      getBoundType in class PropertyType<CD_TemporalDatum,org.opengis.referencing.datum.TemporalDatum>
      Returns:
      TemporalDatum.class
    • wrap

      protected CD_TemporalDatum wrap(org.opengis.referencing.datum.TemporalDatum datum)
      Invoked by PropertyType at marshalling time for wrapping the given value in a <gml:TemporalDatum> XML element.
      Specified by:
      wrap in class PropertyType<CD_TemporalDatum,org.opengis.referencing.datum.TemporalDatum>
      Parameters:
      datum - the element to marshal.
      Returns:
      a PropertyType wrapping the given the element.
    • getElement

      public DefaultTemporalDatum getElement()
      Invoked by JAXB at marshalling time for getting the actual element to write inside the <gml:TemporalDatum> XML element. This is the value or a copy of the value given in argument to the wrap method.
      Returns:
      the element to be marshalled.
    • setElement

      public void setElement(DefaultTemporalDatum datum)
      Invoked by JAXB at unmarshalling time for storing the result temporarily.
      Parameters:
      datum - the unmarshalled element.