Package dev.orne.i18n.jaxb
Class I18nStringAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<XmlI18nString,I18nString>
dev.orne.i18n.jaxb.I18nStringAdapter
- Direct Known Subclasses:
I18nStringAdapter.Full
@API(status=STABLE,
since="0.1")
public class I18nStringAdapter
extends XmlAdapter<XmlI18nString,I18nString>
JAXB adapter for
I18nString
instances.- Since:
- 0.1
- Version:
- 1.0, 2021-10
- Author:
- (w) Iker Hernaez
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
JAXB adapter forI18nString
instances that marshalls all available translations. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
I18nStringAdapter
public I18nStringAdapter()Creates a new instance.
-
-
Method Details
-
marshal
- Specified by:
marshal
in classXmlAdapter<XmlI18nString,
I18nString>
-
unmarshal
- Specified by:
unmarshal
in classXmlAdapter<XmlI18nString,
I18nString>
-