Package javax.xml.datatype

This package provides type mappings between XML and Java data types.

Class Summary

DatatypeConfigurationException A serious error during datatype configuration.
DatatypeConstants Basic data type constants.
DatatypeConstants.Field Typesafe enumerated class representing the six fields of the Duration class.
DatatypeFactory Factory class to create new datatype objects mapping XML to and from Java objects.
Duration An immutable time space as specified in XML Schema 1.0.
XMLGregorianCalendar An XML Schema 1.0 date/time data type.
This package provides type mappings between XML and Java data types.
XML Schema data typeJava data type
xs:dateXMLGregorianCalendar
xs:dateTimeXMLGregorianCalendar
xs:durationDuration
xs:gDayXMLGregorianCalendar
xs:gMonthXMLGregorianCalendar
xs:gMonthDayXMLGregorianCalendar
xs:gYearXMLGregorianCalendar
xs:gYearMonthXMLGregorianCalendar
xs:timeXMLGregorianCalendar
XPath 2.0 data typeJava data type
xdt:dayTimeDurationDuration
xdt:yearMonthDurationDuration
Other XML Schema data types are considered to have a natural mapping to Java types, which are defined by the Java Architecture for XML Binding (JAXB).