## Uses of Class
java.lang.annotation.Inherited

- Packages that use Inherited
  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.

- - ### Uses of Inherited in javax.xml.bind.annotation

    Classes in javax.xml.bind.annotation with annotations of type Inherited
    Modifier and Type | Class | Description
    --- | --- | ---
    `interface` | `XmlAccessorOrder` Controls the ordering of fields and properties in a class.
    `interface` | `XmlAccessorType` Controls whether fields or Javabean properties are serialized by default.

  - ### Uses of Inherited in javax.xml.ws

    Classes in javax.xml.ws with annotations of type Inherited
    Modifier and Type | Class | Description
    --- | --- | ---
    `interface` | `ServiceMode` Used to indicate whether a `Provider` implementation wishes to work with entire protocol messages or just with protocol message payloads.

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.