javax.xml.datatype
Stay organized with collections
Save and categorize content based on your preferences.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-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 2024-07-10 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ejavax.xml.datatype\u003c/code\u003e package provides classes for mapping XML data types to Java objects and vice versa.\u003c/p\u003e\n"],["\u003cp\u003eIt includes classes for representing durations, dates/times, and utility classes for handling datatype constants and factory creation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatatypeConstants\u003c/code\u003e and \u003ccode\u003eDatatypeConstants.Field\u003c/code\u003e offer utility functions and type-safe enums for working with datatype values.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatatypeFactory\u003c/code\u003e enables the creation of new datatype objects, while \u003ccode\u003eDuration\u003c/code\u003e and \u003ccode\u003eXMLGregorianCalendar\u003c/code\u003e represent specific XML schema datatypes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatatypeConfigurationException\u003c/code\u003e signals a significant configuration problem during datatype operations.\u003c/p\u003e\n"]]],[],null,["Classes \n\n|--------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| [DatatypeConstants](../../../../reference/javax/xml/datatype/DatatypeConstants.html) | Utility class to contain basic Datatype values as constants. |\n| [DatatypeConstants.Field](../../../../reference/javax/xml/datatype/DatatypeConstants.Field.html) | Type-safe enum class that represents six fields of the [Duration](../../../../reference/javax/xml/datatype/Duration.html) class. |\n| [DatatypeFactory](../../../../reference/javax/xml/datatype/DatatypeFactory.html) | Factory that creates new `javax.xml.datatype` `Object`s that map XML to/from Java `Object`s. |\n| [Duration](../../../../reference/javax/xml/datatype/Duration.html) | Immutable representation of a time span as defined in the W3C XML Schema 1.0 specification. |\n| [XMLGregorianCalendar](../../../../reference/javax/xml/datatype/XMLGregorianCalendar.html) | Representation for W3C XML Schema 1.0 date/time datatypes. |\n\nExceptions \n\n|----------------------------------------------------------------------------------------------------------------|------------------------------------------|\n| [DatatypeConfigurationException](../../../../reference/javax/xml/datatype/DatatypeConfigurationException.html) | Indicates a serious configuration error. |"]]