Stay organized with collections
Save and categorize content based on your preferences.
javax.xml.datatype
Classes
DatatypeConstants |
Utility class to contain basic Datatype values as constants.
|
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.
|
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# javax.xml.datatype\n\nAdded in [API level 8](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\njavax.xml.datatype\n==================\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [DatatypeConstants](/reference/javax/xml/datatype/DatatypeConstants) | Utility class to contain basic Datatype values as constants. |\n| [DatatypeConstants.Field](/reference/javax/xml/datatype/DatatypeConstants.Field) | Type-safe enum class that represents six fields of the [Duration](/reference/javax/xml/datatype/Duration) class. |\n| [DatatypeFactory](/reference/javax/xml/datatype/DatatypeFactory) | Factory that creates new `javax.xml.datatype` `Object`s that map XML to/from Java `Object`s. |\n| [Duration](/reference/javax/xml/datatype/Duration) | Immutable representation of a time span as defined in the W3C XML Schema 1.0 specification. |\n| [XMLGregorianCalendar](/reference/javax/xml/datatype/XMLGregorianCalendar) | Representation for W3C XML Schema 1.0 date/time datatypes. |\n\nExceptions\n----------\n\n|------------------------------------------------------------------------------------------------|------------------------------------------|\n| [DatatypeConfigurationException](/reference/javax/xml/datatype/DatatypeConfigurationException) | Indicates a serious configuration error. |\n\n-\n\n Classes\n -------\n\n - [DatatypeConstants](/reference/javax/xml/datatype/DatatypeConstants)\n - [DatatypeConstants.Field](/reference/javax/xml/datatype/DatatypeConstants.Field)\n - [DatatypeFactory](/reference/javax/xml/datatype/DatatypeFactory)\n - [Duration](/reference/javax/xml/datatype/Duration)\n - [XMLGregorianCalendar](/reference/javax/xml/datatype/XMLGregorianCalendar)\n-\n\n Exceptions\n ----------\n\n - [DatatypeConfigurationException](/reference/javax/xml/datatype/DatatypeConfigurationException)"]]