Skip Headers

# XML Mapping Concepts

Previous

Next

You can map the attributes of a Java object to a combination of XML simple and complex types using a wide variety of XML mapping types.

TopLink stores XML mappings for each class in the class descriptor. TopLink uses the descriptor to instantiate objects mapped from an XML document and to store new or modified objects as an XML document.

To configure XML mappings, Oracle recommends that you use TopLink Workbench and its rich graphical user interface (GUI) environment to set the descriptor properties and configure the mappings.

This section describes concepts unique to TopLink XML mappings, including the following:

- Mapping to Simple and Complex Types

- Mapping Order

- XPath Support

- xsd:list and xsd:union Support

- xs:any and xs:anyType Support

- jaxb:class Support

- Typesafe Enumeration Support

- Mapping Extensions