Package jakarta.xml.bind.annotation.adapters
XmlAdapter
and its spec-defined
sub-classes to allow arbitrary Java classes to be used with Jakarta XML Binding.
References in this document to JAXB refer to the Jakarta XML Binding unless otherwise noted.
Package Specification
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:- See Also:
- Jakarta XML Binding Website
-
Class Summary Class Description CollapsedStringAdapter Built-inXmlAdapter
to handlexs:token
and its derived types.HexBinaryAdapter XmlAdapter
forxs:hexBinary
.NormalizedStringAdapter XmlAdapter
to handlexs:normalizedString
.XmlAdapter<ValueType,BoundType> Adapts a Java type for custom marshaling.XmlJavaTypeAdapter.DEFAULT Used inXmlJavaTypeAdapter.type()
to signal that the type be inferred from the signature of the field, property, parameter or the class. -
Annotation Types Summary Annotation Type Description XmlJavaTypeAdapter Use an adapter that implementsXmlAdapter
for custom marshaling.XmlJavaTypeAdapters A container for multiple @XmlJavaTypeAdapter
annotations.