Class MD_ScopeDescription

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<MD_ScopeDescription,org.opengis.metadata.maintenance.ScopeDescription>
org.apache.sis.internal.jaxb.gco.PropertyType<MD_ScopeDescription,org.opengis.metadata.maintenance.ScopeDescription>
org.apache.sis.internal.jaxb.metadata.MD_ScopeDescription

public final class MD_ScopeDescription extends PropertyType<MD_ScopeDescription,org.opengis.metadata.maintenance.ScopeDescription>
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

    • MD_ScopeDescription

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

      private MD_ScopeDescription(org.opengis.metadata.maintenance.ScopeDescription value)
  • Method Details

    • getBoundType

      protected Class<org.opengis.metadata.maintenance.ScopeDescription> 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_ScopeDescription,org.opengis.metadata.maintenance.ScopeDescription>
      Returns:
      ScopeDescription.class
    • wrap

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

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