Skip Headers

# XML Direct Mapping

Previous

Next

XML direct mappings map a Java attribute directly to XML text nodes. You can use an XML direct mapping in the following scenarios:

- Mapping to a Text Node

- Mapping to an Attribute

- Mapping to a Specified Schema Type

- Mapping to a List Field With an XML Direct Mapping

- Mapping to a Union Field With an XML Direct Mapping

- Mapping to a Union of Lists With an XML Direct Mapping

- Mapping to a Union of Unions With an XML Direct Mapping

- Mapping With a Simple Type Translator

See Configuring an XML Direct Mapping for more information.

Note: Do not confuse an XML direct mapping with a relational direct-to-`XMLType` mapping (see "Direct-to-XMLType Mapping").