Skip Headers

# Object Type Converter

Previous

Next

The object type converter is an extension of direct and direct collection mappings that lets you match a fixed number of XML values to Java objects. Use this converter when the values in the schema differ from those in Java.

Figure: Object Type XML Converter illustrates an object type conversion between the `Employee` attribute `gender` and the XML element `gender`. If the value of the Java object attribute is `Female`, TopLink stores it in the XML element as `F`.

Object Type XML Converter

Description of "Object Type XML Converter"

For more information, see "Configuring an Object Type Converter".