Class SV_CouplingType
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,org.opengis.util.CodeList<?>>
org.apache.sis.internal.geoapi.evolution.UnsupportedCodeListAdapter<SV_CouplingType>
org.apache.sis.internal.jaxb.code.SV_CouplingType
JAXB adapter for
CouplingType
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.5
- Version:
- 1.0
-
Field Summary
Fields inherited from class org.apache.sis.internal.geoapi.evolution.UnsupportedCodeListAdapter
identifier
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
SV_CouplingType
(CodeListUID value) Creates a new adapter for the given value. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the name of the code list class.Invoked by JAXB on marshalling.void
setElement
(CodeListUID value) Invoked by JAXB on unmarshalling.protected SV_CouplingType
wrap
(CodeListUID value) Wraps the code into an adapter.Methods inherited from class org.apache.sis.internal.geoapi.evolution.UnsupportedCodeListAdapter
marshal, toIdentifier, unmarshal
-
Constructor Details
-
SV_CouplingType
public SV_CouplingType()Empty constructor for JAXB only. -
SV_CouplingType
Creates a new adapter for the given value.
-
-
Method Details
-
wrap
Wraps the code into an adapter. Most implementations will be like below:- Specified by:
wrap
in classUnsupportedCodeListAdapter<SV_CouplingType>
- Parameters:
value
- the value ofCodeList
to be marshalled.- Returns:
- the wrapper for the code list value.
-
getCodeListName
Returns the name of the code list class.- Specified by:
getCodeListName
in classUnsupportedCodeListAdapter<SV_CouplingType>
- Returns:
- the code list class.
-
getElement
Invoked by JAXB on marshalling.- Specified by:
getElement
in classUnsupportedCodeListAdapter<SV_CouplingType>
- Returns:
- the value to be marshalled.
-
setElement
Invoked by JAXB on unmarshalling.- Parameters:
value
- the unmarshalled value.
-