Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

XML Mapping Types

TopLink supports the XML mappings listed in Table 65-1.

Table 65-1 TopLink XML Mapping Types

Mapping Type Description Type TopLink Workbench Java

"XML Direct Mapping"


Map a simple object attribute to an XML attribute or text node.

Basic

Supported
Supported

"XML Composite Direct Collection Mapping"


Map a collection of simple object attributes to XML attributes or text nodes.

Basic

Supported
Supported

"XML Composite Object Mapping"


Map any attribute that contains a single object to an XML element. The TopLink runtime uses the descriptor for the referenced object to populate the contents of that element.

Basic

Supported
Supported

"XML Composite Collection Mapping"


Map an attribute that contains a homogenous collection of objects to multiple XML elements. The TopLink runtime uses the descriptor for the referenced object to populate the contents of those elements.

Basic

Supported
Supported

"XML Any Object Mapping"


The any object XML mapping is similar to the composite object XML mapping (see "XML Composite Object Mapping"), except that the reference object may be of different types (including String), not necessarily related to each other through inheritance or a common interface.

Advanced

Supported
Supported

"XML Any Collection Mapping"


The any collection XML mapping is similar to the composite collection XML mapping (see "XML Composite Collection Mapping") except that the referenced objects may be of different types (including String), not necessarily related to each other through inheritance or a common interface.

Advanced

Supported
Supported

"XML Transformation Mapping"


Create custom mappings where one or more XML nodes can be used to create the object to be stored in a Java class's attribute.

Advanced

Supported
Supported