## Uses of Class
javax.xml.bind.annotation.adapters.XmlAdapter

- Packages that use XmlAdapter
  Package | Description
  --- | ---
  javax.ws.rs.core | Low-level interfaces and annotations used to create RESTful service resources.
  javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
  javax.xml.bind.annotation.adapters | `XmlAdapter` and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB.
  javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the `javax.xml.bind` interfaces.

- - ### Uses of XmlAdapter in javax.ws.rs.core

    Subclasses of XmlAdapter in javax.ws.rs.core
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Link.JaxbAdapter` An implementation of JAXB `XmlAdapter` that maps the JAX-RS `Link` type to a value that can be marshalled and unmarshalled by JAXB.

  - ### Uses of XmlAdapter in javax.xml.bind

    Methods in javax.xml.bind with type parameters of type XmlAdapter
    Modifier and Type | Method and Description
    --- | ---
    `<A extends XmlAdapter> A` | Unmarshaller.`getAdapter(Class<A> type)` Gets the adapter associated with the specified type.
    `<A extends XmlAdapter> A` | Marshaller.`getAdapter(Class<A> type)` Gets the adapter associated with the specified type.
    `<A extends XmlAdapter> void` | Unmarshaller.`setAdapter(Class<A> type, A adapter)` Associates a configured instance of `XmlAdapter` with this unmarshaller.
    `<A extends XmlAdapter> void` | Marshaller.`setAdapter(Class<A> type, A adapter)` Associates a configured instance of `XmlAdapter` with this marshaller.

    Methods in javax.xml.bind with parameters of type XmlAdapter
    Modifier and Type | Method and Description
    --- | ---
    `void` | Unmarshaller.`setAdapter(XmlAdapter adapter)` Associates a configured instance of `XmlAdapter` with this unmarshaller.
    `void` | Marshaller.`setAdapter(XmlAdapter adapter)` Associates a configured instance of `XmlAdapter` with this marshaller.

  - ### Uses of XmlAdapter in javax.xml.bind.annotation.adapters

    Subclasses of XmlAdapter in javax.xml.bind.annotation.adapters
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CollapsedStringAdapter` Built-in `XmlAdapter` to handle `xs:token` and its derived types.
    `class` | `HexBinaryAdapter` `XmlAdapter` for `xs:hexBinary`.
    `class` | `NormalizedStringAdapter` `XmlAdapter` to handle `xs:normalizedString`.

  - ### Uses of XmlAdapter in javax.xml.bind.helpers

    Methods in javax.xml.bind.helpers with type parameters of type XmlAdapter
    Modifier and Type | Method and Description
    --- | ---
    `<A extends XmlAdapter> A` | AbstractUnmarshallerImpl.`getAdapter(Class<A> type)`
    `<A extends XmlAdapter> A` | AbstractMarshallerImpl.`getAdapter(Class<A> type)`
    `<A extends XmlAdapter> void` | AbstractUnmarshallerImpl.`setAdapter(Class<A> type, A adapter)`
    `<A extends XmlAdapter> void` | AbstractMarshallerImpl.`setAdapter(Class<A> type, A adapter)`

    Methods in javax.xml.bind.helpers with parameters of type XmlAdapter
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractUnmarshallerImpl.`setAdapter(XmlAdapter adapter)`
    `void` | AbstractMarshallerImpl.`setAdapter(XmlAdapter adapter)`

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.