Skip Headers

# Configuring a Simple Type Translator

Previous

Next

The simple type translator allows you to automatically translate an XML element value to an appropriate Java type based on the element's `<type>` attribute, as defined in your XML schema. You can use a simple type translator only when the mapping's XPath goes to an element. You cannot use a simple type translator if the mapping's XPath goes to an attribute.

For more information, see "Simple Type Translator".

Table: Mapping Support for Simple Type Translator summarizes which mappings support this option.

Mapping Support for Simple Type Translator

Mapping | Using TopLink Workbench | Using Java
--- | --- | ---
EIS Mappings |  |
EIS Direct Mapping |  |
EIS Composite Direct Collection Mapping |  |
XML Mappings |  |
XML Direct Mapping |  |
XML Composite Direct Collection Mapping |  |