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