javax.xml.bind.annotation.adapters (Java SE 9 & JDK 9 )
Keywords: javax.xml.bind.annotation.adapters package

Module java.xml.bind

# Package javax.xml.bind.annotation.adapters

`XmlAdapter` and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB.

## Package Specification

- JAXB Specification

## Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:

- The JAXB Website

See Also:
  JAXB Website

- Class Summary
  Class | Description
  --- | ---
  CollapsedStringAdapter | Built-in `XmlAdapter` to handle `xs:token` and its derived types.
  HexBinaryAdapter | `XmlAdapter` for `xs:hexBinary`.
  NormalizedStringAdapter | `XmlAdapter` to handle `xs:normalizedString`.
  XmlAdapter<ValueType,BoundType> | Adapts a Java type for custom marshaling.
  XmlJavaTypeAdapter.DEFAULT | Used in `XmlJavaTypeAdapter.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 implements `XmlAdapter` for custom marshaling.
  XmlJavaTypeAdapters | A container for multiple @`XmlJavaTypeAdapter` annotations.