# Uses of Package
javax.xml.bind.annotation

- Packages that use javax.xml.bind.annotation
  Package | Description
  --- | ---
  javax.xml.bind.annotation | Defines annotations for customizing Java program elements to XML Schema mapping.
  javax.xml.ws | This package contains the core JAX-WS APIs.
  javax.xml.ws.wsaddressing | This package defines APIs related to WS-Addressing.

- Classes in javax.xml.bind.annotation used by javax.xml.bind.annotation
  Class | Description
  --- | ---
  DomHandler | Converts an element (and its descendants) from/to DOM (or similar) representation.
  XmlAccessOrder | Used by XmlAccessorOrder to control the ordering of properties and fields in a JAXB bound class.
  XmlAccessType | Used by XmlAccessorType to control serialization of fields or properties.
  XmlNsForm | Enumeration of XML Schema namespace qualifications.

- Classes in javax.xml.bind.annotation used by javax.xml.ws
  Class | Description
  --- | ---
  XmlTransient | Prevents the mapping of a JavaBean property/type to XML representation.

- Classes in javax.xml.bind.annotation used by javax.xml.ws.wsaddressing
  Class | Description
  --- | ---
  XmlRootElement | Maps a class or an enum type to an XML element.
  XmlType | Maps a class or an enum type to a XML Schema type.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.