Class CI_TelephoneTypeCode
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,org.opengis.util.CodeList<?>>
org.apache.sis.internal.geoapi.evolution.UnsupportedCodeListAdapter<CI_TelephoneTypeCode>
org.apache.sis.internal.jaxb.code.CI_TelephoneTypeCode
- Direct Known Subclasses:
CI_TelephoneTypeCode.Since2014
JAXB adapter for
TelephoneType
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:
- 1.0
- Version:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Wraps the value only if marshalling an element from the ISO 19115:2014 metadata model. -
Field Summary
Fields inherited from class org.apache.sis.internal.geoapi.evolution.UnsupportedCodeListAdapter
identifier
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
CI_TelephoneTypeCode
(CodeListUID value) Creates a new adapter for the given value. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the name of the code list class.final CodeListUID
Invoked by JAXB on marshalling.final void
setElement
(CodeListUID value) Invoked by JAXB on unmarshalling.protected CI_TelephoneTypeCode
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
-
CI_TelephoneTypeCode
public CI_TelephoneTypeCode()Empty constructor for JAXB only. -
CI_TelephoneTypeCode
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<CI_TelephoneTypeCode>
- 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<CI_TelephoneTypeCode>
- Returns:
- the code list class.
-
getElement
Invoked by JAXB on marshalling.- Specified by:
getElement
in classUnsupportedCodeListAdapter<CI_TelephoneTypeCode>
- Returns:
- the value to be marshalled.
-
setElement
Invoked by JAXB on unmarshalling.- Parameters:
value
- the unmarshalled value.
-