Class CI_OnlineResource

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<CI_OnlineResource,org.opengis.metadata.citation.OnlineResource>
org.apache.sis.internal.jaxb.metadata.CI_OnlineResource
Direct Known Subclasses:
CI_OnlineResource.Since2014

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

    • CI_OnlineResource

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

      private CI_OnlineResource(org.opengis.metadata.citation.OnlineResource value)
  • Method Details

    • getBoundType

      protected final Class<org.opengis.metadata.citation.OnlineResource> 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<CI_OnlineResource,org.opengis.metadata.citation.OnlineResource>
      Returns:
      OnlineResource.class
    • wrap

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

      public final DefaultOnlineResource getElement()
      Invoked by JAXB at marshalling time for getting the actual metadata to write inside the <cit:CI_OnlineResource> 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 final void setElement(DefaultOnlineResource value)
      Invoked by JAXB at unmarshalling time for storing the result temporarily.
      Parameters:
      value - the unmarshalled metadata.