Class MD_ObligationCode

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<MD_ObligationCode,org.opengis.annotation.Obligation>
org.apache.sis.internal.jaxb.cat.EnumAdapter<MD_ObligationCode,org.opengis.annotation.Obligation>
org.apache.sis.internal.jaxb.code.MD_ObligationCode

public final class MD_ObligationCode extends EnumAdapter<MD_ObligationCode,org.opengis.annotation.Obligation>
JAXB adapter for Obligation in order to wrap the value in an XML element as specified by ISO 19115-3 standard. See package documentation for more information about the handling of CodeList in ISO 19115-3.
Since:
0.3
Version:
1.0
  • Field Details

    • value

      private String value
      The enumeration value.
  • Constructor Details

    • MD_ObligationCode

      public MD_ObligationCode()
      Empty constructor for JAXB only.
  • Method Details

    • unmarshal

      public final org.opengis.annotation.Obligation unmarshal(MD_ObligationCode wrapper)
      Returns the wrapped value.
      Specified by:
      unmarshal in class XmlAdapter<MD_ObligationCode,org.opengis.annotation.Obligation>
      Parameters:
      wrapper - the wrapper.
      Returns:
      the wrapped value.
    • marshal

      public final MD_ObligationCode marshal(org.opengis.annotation.Obligation e)
      Wraps the given value.
      Specified by:
      marshal in class XmlAdapter<MD_ObligationCode,org.opengis.annotation.Obligation>
      Parameters:
      e - the value to wrap.
      Returns:
      the wrapped value.