Class DQ_PositionalAccuracy

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

public final class DQ_PositionalAccuracy extends PropertyType<DQ_PositionalAccuracy,org.opengis.metadata.quality.PositionalAccuracy>
JAXB adapter mapping implementing class to the GeoAPI interface. See package documentation for more information about JAXB and interface.
Since:
0.6
Version:
0.6
  • Constructor Details

    • DQ_PositionalAccuracy

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

      private DQ_PositionalAccuracy(org.opengis.metadata.quality.PositionalAccuracy value)
  • Method Details

    • getBoundType

      protected Class<org.opengis.metadata.quality.PositionalAccuracy> 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<DQ_PositionalAccuracy,org.opengis.metadata.quality.PositionalAccuracy>
      Returns:
      PositionalAccuracy.class
    • wrap

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

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