Class MI_RequestedDate

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<MI_RequestedDate,org.opengis.metadata.acquisition.RequestedDate>
org.apache.sis.internal.jaxb.metadata.MI_RequestedDate

public final class MI_RequestedDate extends PropertyType<MI_RequestedDate,org.opengis.metadata.acquisition.RequestedDate>
JAXB adapter mapping implementing class to the GeoAPI interface. See package documentation for more information about JAXB and interface.
Since:
0.3
Version:
0.3
  • Constructor Details

    • MI_RequestedDate

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

      private MI_RequestedDate(org.opengis.metadata.acquisition.RequestedDate value)
  • Method Details

    • getBoundType

      protected Class<org.opengis.metadata.acquisition.RequestedDate> 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<MI_RequestedDate,org.opengis.metadata.acquisition.RequestedDate>
      Returns:
      RequestedDate.class
    • wrap

      protected MI_RequestedDate wrap(org.opengis.metadata.acquisition.RequestedDate value)
      Invoked by PropertyType at marshalling time for wrapping the given metadata value in a <mac:MI_RequestedDate> XML element.
      Specified by:
      wrap in class PropertyType<MI_RequestedDate,org.opengis.metadata.acquisition.RequestedDate>
      Parameters:
      value - the metadata element to marshal.
      Returns:
      a PropertyType wrapping the given the metadata element.
    • getElement

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

      public void setElement(DefaultRequestedDate value)
      Invoked by JAXB at unmarshalling time for storing the result temporarily.
      Parameters:
      value - the unmarshalled metadata.