Skip Headers

# Default Write Conversions

Previous

Next

Table: Simple Type Translator Write Conversions lists the built-in conversion pairs for writing XML. When a Java class attribute is of a type in Table: Simple Type Translator Write Conversions and the simple type translator is enabled, the corresponding schema type is specified on the element written.

Simple Type Translator Write Conversions

Java Type | Schema Type
--- | ---
Byte[] | hexBinary
BigInteger | integer
Boolean | boolean
Byte | byte
Calendar | dateTime
Gregorian_Calendar | dateTime
Double | double
Float | float
Integer | int
Long | long
int | int
short | short
String | string