Class MD_Scope.Legacy

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<MD_Scope,org.opengis.metadata.quality.Scope>
org.apache.sis.internal.jaxb.metadata.MD_Scope
org.apache.sis.internal.jaxb.metadata.MD_Scope.Legacy
Enclosing class:
MD_Scope

public static final class MD_Scope.Legacy extends MD_Scope
On unmarshalling, creates an instance of the deprecated DefaultScope subclass.
  • Constructor Details

    • Legacy

      public Legacy()
      Empty constructor used only by JAXB.
  • Method Details

    • unmarshal

      public org.opengis.metadata.quality.Scope unmarshal(MD_Scope value) throws URISyntaxException
      Converts an adapter read from an XML stream.
      Overrides:
      unmarshal in class PropertyType<MD_Scope,org.opengis.metadata.quality.Scope>
      Parameters:
      value - the adapter for a metadata value.
      Returns:
      an instance of the GeoAPI interface which represents the metadata value.
      Throws:
      URISyntaxException - if a URI cannot be parsed.