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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal MD_ObligationCode
marshal
(org.opengis.annotation.Obligation e) Wraps the given value.final org.opengis.annotation.Obligation
unmarshal
(MD_ObligationCode wrapper) Returns the wrapped value.Methods inherited from class org.apache.sis.internal.jaxb.cat.EnumAdapter
name, value
-
Field Details
-
value
The enumeration value.
-
-
Constructor Details
-
MD_ObligationCode
public MD_ObligationCode()Empty constructor for JAXB only.
-
-
Method Details
-
unmarshal
Returns the wrapped value.- Specified by:
unmarshal
in classXmlAdapter<MD_ObligationCode,
org.opengis.annotation.Obligation> - Parameters:
wrapper
- the wrapper.- Returns:
- the wrapped value.
-
marshal
Wraps the given value.- Specified by:
marshal
in classXmlAdapter<MD_ObligationCode,
org.opengis.annotation.Obligation> - Parameters:
e
- the value to wrap.- Returns:
- the wrapped value.
-