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