# Uses of Package
javax.xml.datatype

- Packages that use javax.xml.datatype
  Package | Description
  --- | ---
  javax.xml.datatype | XML/Java Type Mappings.

- Classes in javax.xml.datatype used by javax.xml.datatype
  Class | Description
  --- | ---
  DatatypeConfigurationException | Indicates a serious configuration error.
  DatatypeConstants.Field | Type-safe enum class that represents six fields of the `Duration` class.
  DatatypeFactory | Factory that creates new `javax.xml.datatype` `Object`s that map XML to/from Java `Object`s.
  Duration | Immutable representation of a time span as defined in the W3C XML Schema 1.0 specification.
  XMLGregorianCalendar | Representation for W3C XML Schema 1.0 date/time datatypes.

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.