Class EX_Extent

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

public final class EX_Extent extends PropertyType<EX_Extent,org.opengis.metadata.extent.Extent>
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

    • EX_Extent

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

      private EX_Extent(org.opengis.metadata.extent.Extent value)
      Constructor for the wrap(org.opengis.metadata.extent.Extent) method only.
  • Method Details

    • getBoundType

      protected Class<org.opengis.metadata.extent.Extent> 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<EX_Extent,org.opengis.metadata.extent.Extent>
      Returns:
      Extent.class
    • wrap

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

      public DefaultExtent getElement()
      Invoked by JAXB at marshalling time for getting the actual metadata to write inside the <gex:EX_Extent> 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(DefaultExtent value)
      Invoked by JAXB at unmarshalling time for storing the result temporarily.
      Parameters:
      value - the unmarshalled metadata.