Class MI_PolarisationOrientationCode
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<MI_PolarisationOrientationCode,org.opengis.metadata.content.PolarizationOrientation>
org.apache.sis.internal.jaxb.cat.CodeListAdapter<MI_PolarisationOrientationCode,org.opengis.metadata.content.PolarizationOrientation>
org.apache.sis.internal.jaxb.code.MI_PolarisationOrientationCode
public final class MI_PolarisationOrientationCode
extends CodeListAdapter<MI_PolarisationOrientationCode,org.opengis.metadata.content.PolarizationOrientation>
JAXB adapter for
PolarizationOrientation
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
- See Also:
-
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.cat.CodeListAdapter
identifier
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
Creates a new adapter for the given value. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<org.opengis.metadata.content.PolarizationOrientation> Returns the class of code list wrapped by this adapter.Invoked by JAXB on marshalling.void
setElement
(CodeListUID value) Invoked by JAXB on unmarshalling.protected MI_PolarisationOrientationCode
wrap
(CodeListUID value) Wraps the given value.Methods inherited from class org.apache.sis.internal.jaxb.cat.CodeListAdapter
accept2014, isEnum, marshal, unmarshal
-
Constructor Details
-
MI_PolarisationOrientationCode
public MI_PolarisationOrientationCode()Empty constructor for JAXB only. -
MI_PolarisationOrientationCode
Creates a new adapter for the given value.
-
-
Method Details
-
wrap
Wraps the given value. Most implementations will be like below: However, is some cases, thevalue
argument may be inspected. For example,MD_RestrictionCode
replaces"licence"
by"license"
for ISO 19115:2003 compatibility.- Specified by:
wrap
in classCodeListAdapter<MI_PolarisationOrientationCode,
org.opengis.metadata.content.PolarizationOrientation> - Parameters:
value
- the value ofCodeList
, to be marshalled.- Returns:
- the wrapper for the code list value.
-
getCodeListClass
Returns the class of code list wrapped by this adapter.- Specified by:
getCodeListClass
in classCodeListAdapter<MI_PolarisationOrientationCode,
org.opengis.metadata.content.PolarizationOrientation> - Returns:
- the code list class.
-
getElement
Invoked by JAXB on marshalling.- Specified by:
getElement
in classCodeListAdapter<MI_PolarisationOrientationCode,
org.opengis.metadata.content.PolarizationOrientation> - Returns:
- the value to be marshalled.
-
setElement
Invoked by JAXB on unmarshalling.- Parameters:
value
- the unmarshalled value.
-