| Package | Description | 
|---|---|
| javax.xml.bind | 
        Provides a runtime binding framework for client applications including
        unmarshalling, marshalling, and validation capabilities. | 
| javax.xml.bind.annotation.adapters | XmlAdapterand 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| <A extends XmlAdapter> | Unmarshaller. getAdapter(Class<A> type)Gets the adapter associated with the specified type. | 
| <A extends XmlAdapter> | Marshaller. getAdapter(Class<A> type)Gets the adapter associated with the specified type. | 
| <A extends XmlAdapter> | Unmarshaller. setAdapter(Class<A> type,
          A adapter)Associates a configured instance of  XmlAdapterwith this unmarshaller. | 
| <A extends XmlAdapter> | Marshaller. setAdapter(Class<A> type,
          A adapter)Associates a configured instance of  XmlAdapterwith this marshaller. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Unmarshaller. setAdapter(XmlAdapter adapter)Associates a configured instance of  XmlAdapterwith this unmarshaller. | 
| void | Marshaller. setAdapter(XmlAdapter adapter)Associates a configured instance of  XmlAdapterwith this marshaller. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CollapsedStringAdapterBuilt-in  XmlAdapterto handle xs:token and its derived types. | 
| class  | HexBinaryAdapterXmlAdapterfor xs:hexBinary. | 
| class  | NormalizedStringAdapterXmlAdapterto handle xs:normalizedString. | 
| Modifier and Type | Method and Description | 
|---|---|
| <A extends XmlAdapter> | AbstractUnmarshallerImpl. getAdapter(Class<A> type) | 
| <A extends XmlAdapter> | AbstractMarshallerImpl. getAdapter(Class<A> type) | 
| <A extends XmlAdapter> | AbstractUnmarshallerImpl. setAdapter(Class<A> type,
          A adapter) | 
| <A extends XmlAdapter> | AbstractMarshallerImpl. setAdapter(Class<A> type,
          A adapter) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractUnmarshallerImpl. setAdapter(XmlAdapter adapter) | 
| void | AbstractMarshallerImpl. setAdapter(XmlAdapter adapter) | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.