Top Description Annotations Classes
module java.xml.bind

Package javax.xml.bind.annotation.adapters


javax.xml.bind.annotation.adapters.XmlAdapter and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB.

Package Specification

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:
See Also
JAXB Website

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
XmlJavaTypeAdapter

Use an adapter that implements XmlAdapter for custom marshaling.

public @interface
XmlJavaTypeAdapters

A container for multiple @XmlJavaTypeAdapter annotations.

Class Summary

Modifier and TypeClass and Description
public class
CollapsedStringAdapter

Built-in XmlAdapter to handle xs:token and its derived types.

public class
HexBinaryAdapter

XmlAdapter for xs:hexBinary.

public class
NormalizedStringAdapter

XmlAdapter to handle xs:normalizedString.

public abstract class
XmlAdapter<
The type that JAXB knows how to handle out of the box.
ValueType
,
The type that JAXB doesn't know how to handle. An adapter is written to allow this type to be used as an in-memory representation through the ValueType.
BoundType
>

Adapts a Java type for custom marshaling.