Class MD_AggregateInformation

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<MD_AggregateInformation,org.opengis.metadata.identification.AggregateInformation>
org.apache.sis.internal.jaxb.gco.PropertyType<MD_AggregateInformation,org.opengis.metadata.identification.AggregateInformation>
org.apache.sis.internal.jaxb.metadata.MD_AggregateInformation

public final class MD_AggregateInformation extends PropertyType<MD_AggregateInformation,org.opengis.metadata.identification.AggregateInformation>
JAXB adapter in order to map implementing class with the GeoAPI interface. See package documentation for more information about JAXB and interface.
Since:
0.3
Version:
0.3
  • Constructor Details

    • MD_AggregateInformation

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

      private MD_AggregateInformation(org.opengis.metadata.identification.AggregateInformation value)
  • Method Details

    • getBoundType

      protected Class<org.opengis.metadata.identification.AggregateInformation> 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<MD_AggregateInformation,org.opengis.metadata.identification.AggregateInformation>
      Returns:
      AggregateInformation.class
    • wrap

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

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