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 classWraps 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.privateCI_TelephoneTypeCode(CodeListUID value) Creates a new adapter for the given value. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the name of the code list class.final CodeListUIDInvoked by JAXB on marshalling.final voidsetElement(CodeListUID value) Invoked by JAXB on unmarshalling.protected CI_TelephoneTypeCodewrap(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:
wrapin classUnsupportedCodeListAdapter<CI_TelephoneTypeCode>- Parameters:
value- the value ofCodeListto be marshalled.- Returns:
- the wrapper for the code list value.
-
getCodeListName
Returns the name of the code list class.- Specified by:
getCodeListNamein classUnsupportedCodeListAdapter<CI_TelephoneTypeCode>- Returns:
- the code list class.
-
getElement
Invoked by JAXB on marshalling.- Specified by:
getElementin classUnsupportedCodeListAdapter<CI_TelephoneTypeCode>- Returns:
- the value to be marshalled.
-
setElement
Invoked by JAXB on unmarshalling.- Parameters:
value- the unmarshalled value.
-