Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Configuring an XML Mapping (ELUG)"
m (New page: <div style="float:right;border:1px solid #000000;padding:5px">__TOC__ Related Topics</div> This section describes how to config...) |
m (→How to Configure the Choice Element Using Java) |
||
(18 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Special:Whatlinkshere/Configuring an XML Mapping (ELUG)|Related Topics]]</div> | [[Special:Whatlinkshere/Configuring an XML Mapping (ELUG)|Related Topics]]</div> | ||
− | + | For information on how to create EclipseLink mappings, see [[Creating%20a%20Mapping%20(ELUG)|Creating a Mapping]]. | |
− | + | ||
− | For information on how to | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
This table lists the types of XML mappings that you can configure and provides a cross-reference to the type-specific chapter that lists the configurable options supported by that type. | This table lists the types of XML mappings that you can configure and provides a cross-reference to the type-specific chapter that lists the configurable options supported by that type. | ||
− | |||
<span id="Table 59-1"></span> | <span id="Table 59-1"></span> | ||
− | |||
− | |||
{| class="HRuleFormalMax" dir="ltr" title="Configuring XML Mappings" summary="This table provides a cross-reference to additional configuration options for each specific XML mapping type." width="100%" border="1" frame="hsides" rules="rows" cellpadding="3" frame="hsides" rules="rows" | {| class="HRuleFormalMax" dir="ltr" title="Configuring XML Mappings" summary="This table provides a cross-reference to additional configuration options for each specific XML mapping type." width="100%" border="1" frame="hsides" rules="rows" cellpadding="3" frame="hsides" rules="rows" | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
! id="r1c1-t2" align="left" valign="bottom" | '''Mapping Type''' | ! id="r1c1-t2" align="left" valign="bottom" | '''Mapping Type''' | ||
− | ! id="r1c2-t2" align="left" valign="bottom" | '''See | + | ! id="r1c2-t2" align="left" valign="bottom" | '''See...''' |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r2c1-t2" headers="r1c1-t2" align="left" | | | id="r2c1-t2" headers="r1c1-t2" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML Direct Mapping]] | |
| headers="r2c1-t2 r1c2-t2" align="left" | | | headers="r2c1-t2 r1c2-t2" align="left" | | ||
− | [[Configuring%20an%20XML%20Direct%20Mapping%20(ELUG)| | + | [[Configuring%20an%20XML%20Direct%20Mapping%20(ELUG)|Configuring an XML Direct Mapping]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r3c1-t2" headers="r1c1-t2" align="left" | | | id="r3c1-t2" headers="r1c1-t2" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML Composite Direct Collection Mapping]] | |
| headers="r3c1-t2 r1c2-t2" align="left" | | | headers="r3c1-t2 r1c2-t2" align="left" | | ||
− | [[Configuring%20an%20XML%20Composite%20Direct%20Collection%20Mapping%20(ELUG)| | + | [[Configuring%20an%20XML%20Composite%20Direct%20Collection%20Mapping%20(ELUG)|Configuring an XML Composite Direct Collection Mapping]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r4c1-t2" headers="r1c1-t2" align="left" | | | id="r4c1-t2" headers="r1c1-t2" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML Composite Object Mapping]] | |
| headers="r4c1-t2 r1c2-t2" align="left" | | | headers="r4c1-t2 r1c2-t2" align="left" | | ||
− | [[Configuring%20an%20XML%20Composite%20Object%20(ELUG)| | + | [[Configuring%20an%20XML%20Composite%20Object%20Mapping%20(ELUG)|Configuring an XML Composite Object Mapping]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r5c1-t2" headers="r1c1-t2" align="left" | | | id="r5c1-t2" headers="r1c1-t2" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML Composite Collection Mapping]] | |
| headers="r5c1-t2 r1c2-t2" align="left" | | | headers="r5c1-t2 r1c2-t2" align="left" | | ||
− | [[Configuring%20an%20XML%20Composite%20Collection%20Mapping%20(ELUG)| | + | [[Configuring%20an%20XML%20Composite%20Collection%20Mapping%20(ELUG)|Configuring an XML Composite Collection Mapping]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r6c1-t2" headers="r1c1-t2" align="left" | | | id="r6c1-t2" headers="r1c1-t2" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML Any Object Mapping]] | |
| headers="r6c1-t2 r1c2-t2" align="left" | | | headers="r6c1-t2 r1c2-t2" align="left" | | ||
− | [[Configuring%20an%20XML%20Any%20Object%20Mapping%20(ELUG)| | + | [[Configuring%20an%20XML%20Any%20Object%20Mapping%20(ELUG)|Configuring an XML Any Object Mapping]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r7c1-t2" headers="r1c1-t2" align="left" | | | id="r7c1-t2" headers="r1c1-t2" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML Any Collection Mapping]] | |
| headers="r7c1-t2 r1c2-t2" align="left" | | | headers="r7c1-t2 r1c2-t2" align="left" | | ||
− | [[Configuring%20an%20XML%20Any%20Collection%20Mapping%20(ELUG)| | + | [[Configuring%20an%20XML%20Any%20Collection%20Mapping%20(ELUG)|Configuring an XML Any Collection Mapping]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r8c1-t2" headers="r1c1-t2" align="left" | | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML Transformation Mapping]] | |
| headers="r8c1-t2 r1c2-t2" align="left" | | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
− | [[Configuring%20an%20XML%20Transformation%20(ELUG)| | + | [[Configuring%20an%20XML%20Transformation%20Mapping (ELUG)|Configuring an XML Transformation Mapping]]<br> |
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML Object Reference Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Object%20Reference%20Mapping (ELUG)|Configuring an XML Object Reference Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Collection Reference Mapping|XML Collection Reference Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Collection%20Reference%20Mapping (ELUG)|Configuring an XML Collection Reference Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML Binary Data Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Binary%20Data%20Mapping (ELUG)|Configuring an XML Binary Data Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Collection Mapping|XML Binary Data Collection Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Binary%20Data%20Collection%20Mapping (ELUG)|Configuring an XML Binary Data Collection Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML Fragment Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Fragment%20Mapping (ELUG)|Configuring an XML Fragment Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML Fragment Collection Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Fragment%20Collection%20Mapping (ELUG)|Configuring an XML Fragment Collection Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML Choice Object Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Choice%20Object%20Mapping (ELUG)|Configuring an XML Choice Object Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML Choice Collection Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Choice%20Collection%20Mapping (ELUG)|Configuring an XML Choice Collection Mapping]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t2" headers="r1c1-t2" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML Any Attribute Mapping]] | ||
+ | | headers="r8c1-t2 r1c2-t2" align="left" | | ||
+ | [[Configuring%20an%20XML%20Any%20Attribute%20Mapping (ELUG)|Configuring an XML Any Attribute Mapping]]<br> | ||
|} | |} | ||
− | |||
− | |||
For more information, see the following: | For more information, see the following: | ||
− | |||
* [[Introduction%20to%20Mappings%20(ELUG)|Introduction to Mappings]] | * [[Introduction%20to%20Mappings%20(ELUG)|Introduction to Mappings]] | ||
− | * [[Introduction%20to%20XML%20Mappings%20(ELUG)| | + | * [[Introduction%20to%20XML%20Mappings%20(ELUG)|Introduction to XML Mappings]] |
+ | * [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Mapping]] | ||
− | |||
− | |||
+ | ==Configuring Common XML Mapping Options== | ||
+ | This table lists the configurable options shared by two or more XML mapping types. In addition to the configurable options described here, you must also configure the options described for the specific [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Mapping Types|XML Mapping Types]], as shown in this table: | ||
− | |||
+ | <span id="Table 59-2"></span> | ||
{| class="RuleFormalMax" dir="ltr" title="Common Options for XML Mappings" summary="This table lists the configurable options shared by two or more XML mapping types and categorizes them as Basic and Advanced and indicates if the option can be configured with the EclipseLink Workbench, Java, or both." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | {| class="RuleFormalMax" dir="ltr" title="Common Options for XML Mappings" summary="This table lists the configurable options shared by two or more XML mapping types and categorizes them as Basic and Advanced and indicates if the option can be configured with the EclipseLink Workbench, Java, or both." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
Line 79: | Line 113: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r2c1-t3" headers="r1c1-t3" align="left" | | | id="r2c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring XPath]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring XPath|Configuring XPath]]<br> |
| headers="r2c1-t3 r1c2-t3" align="left" | | | headers="r2c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 86: | Line 120: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r3c1-t3" headers="r1c1-t3" align="left" | | | id="r3c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[#Configuring Reference Descriptor]]<br> | + | [[#Configuring Reference Descriptor|Configuring Reference Descriptor]]<br> |
| headers="r3c1-t3 r1c2-t3" align="left" | | | headers="r3c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 93: | Line 127: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r4c1-t3" headers="r1c1-t3" align="left" | | | id="r4c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring Container Policy]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring Container Policy|Configuring Container Policy]]<br> |
| headers="r4c1-t3 r1c2-t3" align="left" | | | headers="r4c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 100: | Line 134: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r5c1-t3" headers="r1c1-t3" align="left" | | | id="r5c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring Method or Direct Field Accessing at the Mapping Level]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring Method or Direct Field Accessing at the Mapping Level|Configuring Method or Direct Field Accessing at the Mapping Level]]<br> |
| headers="r5c1-t3 r1c2-t3" align="left" | | | headers="r5c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 114: | Line 148: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r7c1-t3" headers="r1c1-t3" align="left" | | | id="r7c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[#Configuring Maps to Wildcard]]<br> | + | [[#Configuring Maps to Wildcard|Configuring Maps to Wildcard]]<br> |
| headers="r7c1-t3 r1c2-t3" align="left" | | | headers="r7c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 121: | Line 155: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r8c1-t3" headers="r1c1-t3" align="left" | | | id="r8c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Serialized Object Converter]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring a Serialized Object Converter|Configuring a Serialized Object Converter]]<br> |
| headers="r8c1-t3 r1c2-t3" align="left" | | | headers="r8c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 128: | Line 162: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r9c1-t3" headers="r1c1-t3" align="left" | | | id="r9c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Type Conversion Converter]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring a Type Conversion Converter|Configuring a Type Conversion Converter]]<br> |
| headers="r9c1-t3 r1c2-t3" align="left" | | | headers="r9c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 135: | Line 169: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r10c1-t3" headers="r1c1-t3" align="left" | | | id="r10c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring an Object Type Converter]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring an Object Type Converter|Configuring an Object Type Converter]]<br> |
| headers="r10c1-t3 r1c2-t3" align="left" | | | headers="r10c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 142: | Line 176: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r11c1-t3" headers="r1c1-t3" align="left" | | | id="r11c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Simple Type Translator]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring a Simple Type Translator|Configuring a Simple Type Translator]]<br> |
| headers="r11c1-t3 r1c2-t3" align="left" | | | headers="r11c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 149: | Line 183: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r12c1-t3" headers="r1c1-t3" align="left" | | | id="r12c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring the Use of a Single Node]]<br> | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring the Use of a Single Node|Configuring the Use of a Single Node]]<br> |
| headers="r12c1-t3 r1c2-t3" align="left" | | | headers="r12c1-t3 r1c2-t3" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 156: | Line 190: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r13c1-t3" headers="r1c1-t3" align="left" | | | id="r13c1-t3" headers="r1c1-t3" align="left" | | ||
− | [[Configuring%20a%20Mapping%20(ELUG)|Configuring the Use of | + | [[Configuring%20a%20Mapping%20(ELUG)#Configuring the Use of CDATA|Configuring the Use of CDATA]]<br> |
+ | | headers="r13c1-t3 r1c2-t3" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r13c1-t3 r1c3-t3" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r13c1-t3" headers="r1c1-t3" align="left" | | ||
+ | [[#Configuring Reference Class|Configuring Reference Class]]<br> | ||
+ | | headers="r13c1-t3 r1c2-t3" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r13c1-t3 r1c3-t3" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r13c1-t3" headers="r1c1-t3" align="left" | | ||
+ | [[#Configuring the Use of Inline Binary Data|Configuring the Use of Inline Binary Data]]<br> | ||
+ | | headers="r13c1-t3 r1c2-t3" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r13c1-t3 r1c3-t3" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r13c1-t3" headers="r1c1-t3" align="left" | | ||
+ | [[#Configuring the Use of SwaRef Type|Configuring the Use of SwaRef Type]]<br> | ||
+ | | headers="r13c1-t3 r1c2-t3" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r13c1-t3 r1c3-t3" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r13c1-t3" headers="r1c1-t3" align="left" | | ||
+ | [[#Configuring Source to Target Key Field Association|Configuring Source to Target Key Field Association]]<br> | ||
+ | | headers="r13c1-t3 r1c2-t3" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r13c1-t3 r1c3-t3" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r13c1-t3" headers="r1c1-t3" align="left" | | ||
+ | [[#Configuring the Choice Element|Configuring the Choice Element]]<br> | ||
| headers="r13c1-t3 r1c2-t3" align="left" | | | headers="r13c1-t3 r1c2-t3" align="left" | | ||
[[Image:unsupport.gif|Unsupported]]<br> | [[Image:unsupport.gif|Unsupported]]<br> | ||
Line 163: | Line 232: | ||
|} | |} | ||
− | + | ||
==Configuring Reference Descriptor== | ==Configuring Reference Descriptor== | ||
Line 169: | Line 238: | ||
For XML attributes that reference other descriptors (instead of a schema element), you may select a specific reference descriptor. If you do not specify a reference descriptor, EclipseLink uses the <tt>xsi:Type</tt> attribute to determine the reference class object. | For XML attributes that reference other descriptors (instead of a schema element), you may select a specific reference descriptor. If you do not specify a reference descriptor, EclipseLink uses the <tt>xsi:Type</tt> attribute to determine the reference class object. | ||
− | + | This table summarizes which XML mappings support reference descriptor configuration. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | <span id="Table 59-3"></span> | ||
+ | ''''' XML Mapping Support for Reference Descriptor Configuration''''' | ||
{| class="RuleFormal" dir="ltr" title="XML Mapping Support for Reference Descriptor Configuration" summary="This table summarizes which XML mappings support reference descriptor configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | {| class="RuleFormal" dir="ltr" title="XML Mapping Support for Reference Descriptor Configuration" summary="This table summarizes which XML mappings support reference descriptor configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
! id="r1c1-t4" align="left" valign="bottom" | '''XML Mapping''' | ! id="r1c1-t4" align="left" valign="bottom" | '''XML Mapping''' | ||
− | ! id="r1c2-t4" align="left" valign="bottom" | '''[[#How to Configure a Reference Descriptor Using Workbench]]<br>''' | + | ! id="r1c2-t4" align="left" valign="bottom" | '''[[#How to Configure a Reference Descriptor Using Workbench|Using the Workbench]]<br>''' |
− | ! id="r1c3-t4" align="left" valign="bottom" | ''' | + | ! id="r1c3-t4" align="left" valign="bottom" | '''Using Java''' |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r2c1-t4" headers="r1c1-t4" align="left" | | | id="r2c1-t4" headers="r1c1-t4" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML direct mapping]] | |
| headers="r2c1-t4 r1c2-t4" align="left" | | | headers="r2c1-t4 r1c2-t4" align="left" | | ||
[[Image:unsupport.gif|Unsupported]]<br> | [[Image:unsupport.gif|Unsupported]]<br> | ||
Line 189: | Line 256: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r3c1-t4" headers="r1c1-t4" align="left" | | | id="r3c1-t4" headers="r1c1-t4" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML composite direct collection mapping ]] | |
| headers="r3c1-t4 r1c2-t4" align="left" | | | headers="r3c1-t4 r1c2-t4" align="left" | | ||
[[Image:unsupport.gif|Unsupported]]<br> | [[Image:unsupport.gif|Unsupported]]<br> | ||
Line 196: | Line 263: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r4c1-t4" headers="r1c1-t4" align="left" | | | id="r4c1-t4" headers="r1c1-t4" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML composite object mapping ]] | |
| headers="r4c1-t4 r1c2-t4" align="left" | | | headers="r4c1-t4 r1c2-t4" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 203: | Line 270: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r5c1-t4" headers="r1c1-t4" align="left" | | | id="r5c1-t4" headers="r1c1-t4" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML composite collection mapping ]] | |
| headers="r5c1-t4 r1c2-t4" align="left" | | | headers="r5c1-t4 r1c2-t4" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
Line 210: | Line 277: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r6c1-t4" headers="r1c1-t4" align="left" | | | id="r6c1-t4" headers="r1c1-t4" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML any object mapping ]] | |
| headers="r6c1-t4 r1c2-t4" align="left" | | | headers="r6c1-t4 r1c2-t4" align="left" | | ||
[[Image:unsupport.gif|Unsupported]]<br> | [[Image:unsupport.gif|Unsupported]]<br> | ||
Line 217: | Line 284: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r7c1-t4" headers="r1c1-t4" align="left" | | | id="r7c1-t4" headers="r1c1-t4" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML any collection mapping ]] | |
| headers="r7c1-t4 r1c2-t4" align="left" | | | headers="r7c1-t4 r1c2-t4" align="left" | | ||
[[Image:unsupport.gif|Unsupported]]<br> | [[Image:unsupport.gif|Unsupported]]<br> | ||
Line 224: | Line 291: | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r8c1-t4" headers="r1c1-t4" align="left" | | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
− | XML transformation mapping ( | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML transformation mapping ]] |
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML object reference mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Collection Mapping|XML object collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML binary data mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML binary data collection Mapping|XML binary data collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML fragment mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML fragment collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML choice object mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML choice collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML any attribute mapping ]] | ||
| headers="r8c1-t4 r1c2-t4" align="left" | | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
[[Image:unsupport.gif|Unsupported]]<br> | [[Image:unsupport.gif|Unsupported]]<br> | ||
Line 231: | Line 361: | ||
|} | |} | ||
− | |||
===How to Configure a Reference Descriptor Using Workbench=== | ===How to Configure a Reference Descriptor Using Workbench=== | ||
To specify a reference descriptor for an XML mapping that references another descriptor (instead of a schema element), use this procedure. | To specify a reference descriptor for an XML mapping that references another descriptor (instead of a schema element), use this procedure. | ||
− | |||
# Select the mapped attribute in the '''Navigator'''. Its properties appear in the Editor. | # Select the mapped attribute in the '''Navigator'''. Its properties appear in the Editor. | ||
− | # Click the '''General''' tab. The General tab appears.''''' | + | # Click the '''General''' tab. The General tab appears.''''' General Tab, Reference Descriptor Field'''''<br>[[Image:xmlrefd.gif|General Tab, Reference Descriptor Field]]<br><br> |
+ | #If this XML attribute refers to another descriptor (instead of a schema element), use the '''Reference Descriptor''' field to select a descriptor in the project. | ||
− | |||
− | |||
− | |||
− | |||
==Configuring Maps to Wildcard== | ==Configuring Maps to Wildcard== | ||
− | This attribute applies only to the Workbench. Use this option to solve "No XPath specified" problems (see [[Using%20Workbench%20(ELUG)|How to Use the Problems Window]]) for an XML mapping that does not need an XPath (see [[Configuring%20a%20Mapping%20(ELUG)|Configuring XPath]]) for it maps to a wildcard. | + | This attribute applies only to the Workbench. Use this option to solve "No XPath specified" problems (see [[Using%20Workbench%20(ELUG)#How to Use the Problems Window|How to Use the Problems Window]]) for an XML mapping that does not need an XPath (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring XPath|Configuring XPath]]) for it maps to a wildcard. |
− | If the XML mapping is owned by an <tt>anyType</tt> descriptor (see [[Configuring%20an%20XML%20Descriptor%20(ELUG)|Configuring for Complex Type of anyType]]), it cannot map to a wildcard, and you must specify an XPath. | + | If the XML mapping is owned by an <tt>anyType</tt> descriptor (see [[Configuring%20an%20XML%20Descriptor%20(ELUG)#Configuring for Complex Type of anyType|Configuring for Complex Type of anyType]]), it cannot map to a wildcard, and you must specify an XPath. |
− | + | This table summarizes which XML mappings support maps to wildcard configuration. | |
− | + | <span id="Table 59-4"></span> | |
− | ''''' | + | ''''' XML Mapping Support for Maps to Wildcard Configuration''''' |
− | + | ||
{| class="RuleFormal" dir="ltr" title="XML Mapping Support for Maps to Wildcard Configuration" summary="This table summarizes which XML mappings support maps to wildcard configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | {| class="RuleFormal" dir="ltr" title="XML Mapping Support for Maps to Wildcard Configuration" summary="This table summarizes which XML mappings support maps to wildcard configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
|- align="left" valign="top" | |- align="left" valign="top" | ||
! id="r1c1-t5" align="left" valign="bottom" | '''XML Mapping''' | ! id="r1c1-t5" align="left" valign="bottom" | '''XML Mapping''' | ||
− | ! id="r1c2-t5" align="left" valign="bottom" | '''[[#How to Configure Maps to Wildcard Using Workbench]]''' | + | ! id="r1c2-t5" align="left" valign="bottom" | '''[[#How to Configure Maps to Wildcard Using Workbench|Using the Workbench]]''' |
− | ! id="r1c3-t5" align="left" valign="bottom" | ''' | + | ! id="r1c3-t5" align="left" valign="bottom" | '''Using Java''' |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r2c1-t5" headers="r1c1-t5" align="left" | | | id="r2c1-t5" headers="r1c1-t5" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML direct mapping ]] | |
| headers="r2c1-t5 r1c2-t5" align="left" | | | headers="r2c1-t5 r1c2-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
| headers="r2c1-t5 r1c3-t5" align="left" | | | headers="r2c1-t5 r1c3-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r3c1-t5" headers="r1c1-t5" align="left" | | | id="r3c1-t5" headers="r1c1-t5" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML composite direct collection mapping ]] | |
| headers="r3c1-t5 r1c2-t5" align="left" | | | headers="r3c1-t5 r1c2-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
| headers="r3c1-t5 r1c3-t5" align="left" | | | headers="r3c1-t5 r1c3-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r4c1-t5" headers="r1c1-t5" align="left" | | | id="r4c1-t5" headers="r1c1-t5" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML composite object mapping ]] | |
| headers="r4c1-t5 r1c2-t5" align="left" | | | headers="r4c1-t5 r1c2-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
| headers="r4c1-t5 r1c3-t5" align="left" | | | headers="r4c1-t5 r1c3-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r5c1-t5" headers="r1c1-t5" align="left" | | | id="r5c1-t5" headers="r1c1-t5" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML composite collection mapping ]] | |
| headers="r5c1-t5 r1c2-t5" align="left" | | | headers="r5c1-t5 r1c2-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
| headers="r5c1-t5 r1c3-t5" align="left" | | | headers="r5c1-t5 r1c3-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r6c1-t5" headers="r1c1-t5" align="left" | | | id="r6c1-t5" headers="r1c1-t5" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML any object mapping ]] | |
| headers="r6c1-t5 r1c2-t5" align="left" | | | headers="r6c1-t5 r1c2-t5" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
| headers="r6c1-t5 r1c3-t5" align="left" | | | headers="r6c1-t5 r1c3-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r7c1-t5" headers="r1c1-t5" align="left" | | | id="r7c1-t5" headers="r1c1-t5" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML any collection mapping ]] | |
| headers="r7c1-t5 r1c2-t5" align="left" | | | headers="r7c1-t5 r1c2-t5" align="left" | | ||
[[Image:support.gif|Supported]]<br> | [[Image:support.gif|Supported]]<br> | ||
| headers="r7c1-t5 r1c3-t5" align="left" | | | headers="r7c1-t5 r1c3-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
|- align="left" valign="top" | |- align="left" valign="top" | ||
| id="r8c1-t5" headers="r1c1-t5" align="left" | | | id="r8c1-t5" headers="r1c1-t5" align="left" | | ||
− | + | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML transformation mapping ]] | |
| headers="r8c1-t5 r1c2-t5" align="left" | | | headers="r8c1-t5 r1c2-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
| headers="r8c1-t5 r1c3-t5" align="left" | | | headers="r8c1-t5 r1c3-t5" align="left" | | ||
− | [[Image:unsupport.gif| | + | [[Image:unsupport.gif|Unsupported]]<br> |
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML object reference mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Collection Mapping|XML object collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML binary data mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML binary data collection Mapping|XML binary data collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML fragment mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML fragment collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML choice object mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML choice collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML any attribute mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
|} | |} | ||
− | |||
===How to Configure Maps to Wildcard Using Workbench=== | ===How to Configure Maps to Wildcard Using Workbench=== | ||
Line 321: | Line 507: | ||
# Select the mapped attribute in the '''Navigator'''. Its properties appear in the Editor. | # Select the mapped attribute in the '''Navigator'''. Its properties appear in the Editor. | ||
− | # ''''' | + | # '''''Mapping Tab, Maps to Wildcard Option'''''<br>[[Image:wildcard.gif|Mapping Tab, Maps to Wildcard Option]]<br><br> |
+ | #If the XML mapping is not owned by an <tt>anyType</tt> descriptor (see [[Configuring%20an%20XML%20Descriptor%20(ELUG)#Configuring for Complex Type of anyType|Configuring for Complex Type of anyType]]) and maps to a wildcard, then you do not need to specify an XPath (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring XPath|Configuring XPath]]). Select the '''Maps to Wildcard (uses "any" tag)''' option to clear the missing XPath neediness message. | ||
+ | #If the XML mapping is owned by an <tt>anyType</tt> descriptor, it cannot map to a wildcard and you must specify an XPath. Deselect the '''Maps to Wildcard (Uses "any" tag)''' option and ensure that you specify an XPath. | ||
− | |||
− | |||
− | ''' | + | ==Configuring Source to Target Key Field Association== |
+ | |||
+ | This option is applicable to key on source-based mappings. Use this option to add a source and target XPath pair to the map of such key pairs. | ||
+ | |||
+ | This table summarizes which XML mappings support source to target key field association configuration. | ||
+ | |||
+ | |||
+ | <span id="Table 59-5"></span> | ||
+ | ''''' XML Mapping Support for Source to Target Key Field Association Configuration''''' | ||
+ | {| class="RuleFormal" dir="ltr" title="XML Mapping Support for Source to Target Key Field Association Configuration" summary="This table summarizes which XML mappings support source to target key field association configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
+ | |- align="left" valign="top" | ||
+ | ! id="r1c1-t5" align="left" valign="bottom" | '''XML Mapping''' | ||
+ | ! id="r1c2-t5" align="left" valign="bottom" | '''Using the Workbench''' | ||
+ | ! id="r1c3-t5" align="left" valign="bottom" | '''[[#How to Configure Source to Target Key Field Association Using Java|Using Java]]''' | ||
+ | |- align="left" valign="top" | ||
+ | | id="r2c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML direct mapping ]] | ||
+ | | headers="r2c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r2c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r3c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML composite direct collection mapping ]] | ||
+ | | headers="r3c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r3c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r4c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML composite object mapping ]] | ||
+ | | headers="r4c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r4c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r5c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML composite collection mapping ]] | ||
+ | | headers="r5c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r5c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r6c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML any object mapping ]] | ||
+ | | headers="r6c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r6c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r7c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML any collection mapping ]] | ||
+ | | headers="r7c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r7c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML transformation mapping ]] | ||
+ | | headers="r8c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML object reference mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Collection Mapping|XML object collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML binary data mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML binary data collection Mapping|XML binary data collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML fragment mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML fragment collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML choice object mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML choice collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML any attribute mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |} | ||
+ | |||
+ | |||
+ | ===How to Configure Source to Target Key Field Association Using Java=== | ||
+ | To configure the source to target key field association for your mapping, use the <tt>XMLObjectReferenceMapping</tt> method <tt>addSourceToTargetKeyFieldAssociation</tt> to add a specified source and target XPath pair to the map. | ||
+ | |||
+ | ==Configuring Reference Class== | ||
+ | This option is applicable to key on source-based mappings. | ||
+ | |||
+ | Use this option to define the reference class, whose instances your XML object reference mapping will store in the domain objects. | ||
+ | |||
+ | This table summarizes which XML mappings support source to target key field association configuration. | ||
+ | |||
+ | |||
+ | <span id="Table 59-6"></span> | ||
+ | ''''' XML Mapping Support for Reference Class Configuration''''' | ||
+ | {| class="RuleFormal" dir="ltr" title="XML Mapping Support for Reference Class Configuration" summary="This table summarizes which XML mappings support reference class configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
+ | |- align="left" valign="top" | ||
+ | ! id="r1c1-t5" align="left" valign="bottom" | '''XML Mapping''' | ||
+ | ! id="r1c2-t5" align="left" valign="bottom" | '''Using the Workbench''' | ||
+ | ! id="r1c3-t5" align="left" valign="bottom" | '''[[#How to Configure Reference Class Using Java|Using Java]]''' | ||
+ | |- align="left" valign="top" | ||
+ | | id="r2c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML direct mapping ]] | ||
+ | | headers="r2c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r2c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r3c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML composite direct collection mapping ]] | ||
+ | | headers="r3c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r3c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r4c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML composite object mapping ]] | ||
+ | | headers="r4c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r4c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r5c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML composite collection mapping ]] | ||
+ | | headers="r5c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r5c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r6c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML any object mapping ]] | ||
+ | | headers="r6c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r6c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r7c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML any collection mapping ]] | ||
+ | | headers="r7c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r7c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML transformation mapping ]] | ||
+ | | headers="r8c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML object reference mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Collection Mapping|XML object collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML binary data mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML binary data collection Mapping|XML binary data collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML fragment mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML fragment collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML choice object mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML choice collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML any attribute mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |} | ||
+ | |||
+ | |||
+ | ===How to Configure Reference Class Using Java=== | ||
+ | To configure a reference class for your mapping, use the <tt>AggregateMapping</tt> method <tt>setReferenceClass</tt>. | ||
+ | |||
+ | ==Configuring the Use of Inline Binary Data== | ||
+ | This option is applicable to binary data mappings. | ||
+ | |||
+ | Use this option to define whether or not there should always be inline binary data for this mapping. | ||
+ | |||
+ | This table summarizes which XML mappings support the use of inline binary data configuration. | ||
+ | |||
+ | |||
+ | <span id="Table 59-7"></span> | ||
+ | ''''' XML Mapping Support for the Use of Inline Binary Data Configuration''''' | ||
+ | {| class="RuleFormal" dir="ltr" title="XML Mapping Support for the Use of Inline Binary Data Configuration" summary="This table summarizes which XML mappings support the use of inline binary data configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
+ | |- align="left" valign="top" | ||
+ | ! id="r1c1-t5" align="left" valign="bottom" | '''XML Mapping''' | ||
+ | ! id="r1c2-t5" align="left" valign="bottom" | '''Using the Workbench''' | ||
+ | ! id="r1c3-t5" align="left" valign="bottom" | '''[[#How to Configure the Use of Inline Binary Data Using Java|Using Java]]''' | ||
+ | |- align="left" valign="top" | ||
+ | | id="r2c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML direct mapping ]] | ||
+ | | headers="r2c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r2c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r3c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML composite direct collection mapping ]] | ||
+ | | headers="r3c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r3c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r4c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML composite object mapping ]] | ||
+ | | headers="r4c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r4c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r5c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML composite collection mapping ]] | ||
+ | | headers="r5c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r5c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r6c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML any object mapping ]] | ||
+ | | headers="r6c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r6c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r7c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML any collection mapping ]] | ||
+ | | headers="r7c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r7c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML transformation mapping ]] | ||
+ | | headers="r8c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML object reference mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Collection Mapping|XML object collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML binary data mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML binary data collection Mapping|XML binary data collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML fragment mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML fragment collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML choice object mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML choice collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML any attribute mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |} | ||
+ | |||
+ | |||
+ | ===How to Configure the Use of Inline Binary Data Using Java=== | ||
+ | To configure the use of inline binary data for your mapping, use the <tt>XMLBinaryDataMapping</tt> or <tt>XMLBinaryDataCollectionMapping</tt> method <tt>setShouldInlineBinaryData</tt>. If you set it to <tt>true</tt>, you disable consideration for attachment handling for this mapping and indicate that you only want inline data. | ||
+ | |||
+ | ==Configuring the Use of SwaRef Type== | ||
+ | This option is applicable to binary data mappings. | ||
+ | |||
+ | Use this option to specify that the target node of this mapping is of type xs:swaref. | ||
+ | |||
+ | This table summarizes which XML mappings support the use of SwaRef type configuration. | ||
+ | |||
+ | |||
+ | <span id="Table 59-8"></span> | ||
+ | ''''' XML Mapping Support for the Use of SwaRef Type Configuration''''' | ||
+ | {| class="RuleFormal" dir="ltr" title="XML Mapping Support for the Use of SwaRef Type Configuration" summary="This table summarizes which XML mappings support the use of SwaRef type configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
+ | |- align="left" valign="top" | ||
+ | ! id="r1c1-t5" align="left" valign="bottom" | '''XML Mapping''' | ||
+ | ! id="r1c2-t5" align="left" valign="bottom" | '''Using the Workbench''' | ||
+ | ! id="r1c3-t5" align="left" valign="bottom" | '''[[#How to Configure the Use of SwaRef Type Using Java|Using Java]]''' | ||
+ | |- align="left" valign="top" | ||
+ | | id="r2c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML direct mapping ]] | ||
+ | | headers="r2c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r2c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r3c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML composite direct collection mapping ]] | ||
+ | | headers="r3c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r3c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r4c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML composite object mapping ]] | ||
+ | | headers="r4c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r4c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r5c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML composite collection mapping ]] | ||
+ | | headers="r5c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r5c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r6c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML any object mapping ]] | ||
+ | | headers="r6c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r6c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r7c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML any collection mapping ]] | ||
+ | | headers="r7c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r7c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML transformation mapping ]] | ||
+ | | headers="r8c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML object reference mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Collection Mapping|XML object collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML binary data mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML binary data collection Mapping|XML binary data collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML fragment mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML fragment collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML choice object mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML choice collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML any attribute mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |} | ||
+ | |||
+ | |||
+ | ===How to Configure the Use of SwaRef Type Using Java=== | ||
+ | To configure the use of SwaRef type for your mapping, use the <tt>XMLBinaryDataMapping</tt> or <tt>XMLBinaryDataCollectionMapping</tt> method <tt>setSwaRef</tt>. If you set it to <tt>true</tt>, you indicate that the target node of this mapping is of type <tt>xs:swaref</tt>. | ||
+ | |||
+ | ==Configuring the Choice Element== | ||
+ | This option is applicable to choice mappings. | ||
+ | |||
+ | Use this option to specify an XPath and the type assocated with this XPath. | ||
+ | |||
+ | This table summarizes which XML mappings support the choice element configuration. | ||
+ | |||
+ | |||
+ | <span id="Table 59-9"></span> | ||
+ | ''''' XML Mapping Support for the Choice Element Configuration''''' | ||
+ | {| class="RuleFormal" dir="ltr" title="XML Mapping Support for the Choice Element Configuration" summary="This table summarizes which XML mappings support the use of Choice Element configuration." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all" | ||
+ | |- align="left" valign="top" | ||
+ | ! id="r1c1-t5" align="left" valign="bottom" | '''XML Mapping''' | ||
+ | ! id="r1c2-t5" align="left" valign="bottom" | '''Using the Workbench''' | ||
+ | ! id="r1c3-t5" align="left" valign="bottom" | '''[[#How to Configure the Choice Element Using Java|Using Java]]''' | ||
+ | |- align="left" valign="top" | ||
+ | | id="r2c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML direct mapping ]] | ||
+ | | headers="r2c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r2c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r3c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Direct Collection Mapping|XML composite direct collection mapping ]] | ||
+ | | headers="r3c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r3c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r4c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Object Mapping|XML composite object mapping ]] | ||
+ | | headers="r4c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r4c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r5c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Composite Collection Mapping|XML composite collection mapping ]] | ||
+ | | headers="r5c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r5c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r6c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Object Mapping|XML any object mapping ]] | ||
+ | | headers="r6c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r6c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r7c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Collection Mapping|XML any collection mapping ]] | ||
+ | | headers="r7c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r7c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t5" headers="r1c1-t5" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML transformation mapping ]] | ||
+ | | headers="r8c1-t5 r1c2-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t5 r1c3-t5" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Reference Mapping|XML object reference mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Object Collection Mapping|XML object collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Binary Data Mapping|XML binary data mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML binary data collection Mapping|XML binary data collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Mapping|XML fragment mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Fragment Collection Mapping|XML fragment collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Object Mapping|XML choice object mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Choice Collection Mapping|XML choice collection mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:support.gif|Supported]]<br> | ||
+ | |- align="left" valign="top" | ||
+ | | id="r8c1-t4" headers="r1c1-t4" align="left" | | ||
+ | [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Any Attribute Mapping|XML any attribute mapping ]] | ||
+ | | headers="r8c1-t4 r1c2-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | | headers="r8c1-t4 r1c3-t4" align="left" | | ||
+ | [[Image:unsupport.gif|Unsupported]]<br> | ||
+ | |} | ||
+ | |||
− | + | ===How to Configure the Choice Element Using Java=== | |
+ | Use the following <tt>XMLChoiceObjectMapping</tt> or <tt>XMLChoiceCollectionMapping</tt> methods to add choice element: | ||
+ | * <tt>addChoiceElement(String xpath, Class elementType)</tt> | ||
+ | * <tt>addChoiceElement(String xpath, String elementTypeName)</tt> | ||
Line 338: | Line 1,186: | ||
[[Category: EclipseLink User's Guide]] | [[Category: EclipseLink User's Guide]] | ||
− | [[Category: | + | [[Category: Release 1]] |
[[Category: Task]] | [[Category: Task]] | ||
+ | [[Category: XML]] |
Latest revision as of 07:45, 20 August 2008
Contents
- 1 Configuring Common XML Mapping Options
- 2 Configuring Reference Descriptor
- 3 Configuring Maps to Wildcard
- 4 Configuring Source to Target Key Field Association
- 5 Configuring Reference Class
- 6 Configuring the Use of Inline Binary Data
- 7 Configuring the Use of SwaRef Type
- 8 Configuring the Choice Element
For information on how to create EclipseLink mappings, see Creating a Mapping.
This table lists the types of XML mappings that you can configure and provides a cross-reference to the type-specific chapter that lists the configurable options supported by that type.
Mapping Type | See... |
---|---|
For more information, see the following:
Configuring Common XML Mapping Options
This table lists the configurable options shared by two or more XML mapping types. In addition to the configurable options described here, you must also configure the options described for the specific XML Mapping Types, as shown in this table:
Option | EclipseLink Workbench | Java |
---|---|---|
Configuring Method or Direct Field Accessing at the Mapping Level |
||
Configuring Reference Descriptor
For XML attributes that reference other descriptors (instead of a schema element), you may select a specific reference descriptor. If you do not specify a reference descriptor, EclipseLink uses the xsi:Type attribute to determine the reference class object.
This table summarizes which XML mappings support reference descriptor configuration.
XML Mapping Support for Reference Descriptor Configuration
XML Mapping | Using the Workbench |
Using Java |
---|---|---|
How to Configure a Reference Descriptor Using Workbench
To specify a reference descriptor for an XML mapping that references another descriptor (instead of a schema element), use this procedure.
- Select the mapped attribute in the Navigator. Its properties appear in the Editor.
- Click the General tab. The General tab appears. General Tab, Reference Descriptor Field
- If this XML attribute refers to another descriptor (instead of a schema element), use the Reference Descriptor field to select a descriptor in the project.
Configuring Maps to Wildcard
This attribute applies only to the Workbench. Use this option to solve "No XPath specified" problems (see How to Use the Problems Window) for an XML mapping that does not need an XPath (see Configuring XPath) for it maps to a wildcard.
If the XML mapping is owned by an anyType descriptor (see Configuring for Complex Type of anyType), it cannot map to a wildcard, and you must specify an XPath.
This table summarizes which XML mappings support maps to wildcard configuration.
XML Mapping Support for Maps to Wildcard Configuration
XML Mapping | Using the Workbench | Using Java |
---|---|---|
How to Configure Maps to Wildcard Using Workbench
To specify a map a schema element using the xs:any declaration, use this procedure.
- Select the mapped attribute in the Navigator. Its properties appear in the Editor.
- Mapping Tab, Maps to Wildcard Option
- If the XML mapping is not owned by an anyType descriptor (see Configuring for Complex Type of anyType) and maps to a wildcard, then you do not need to specify an XPath (see Configuring XPath). Select the Maps to Wildcard (uses "any" tag) option to clear the missing XPath neediness message.
- If the XML mapping is owned by an anyType descriptor, it cannot map to a wildcard and you must specify an XPath. Deselect the Maps to Wildcard (Uses "any" tag) option and ensure that you specify an XPath.
Configuring Source to Target Key Field Association
This option is applicable to key on source-based mappings. Use this option to add a source and target XPath pair to the map of such key pairs.
This table summarizes which XML mappings support source to target key field association configuration.
XML Mapping Support for Source to Target Key Field Association Configuration
XML Mapping | Using the Workbench | Using Java |
---|---|---|
How to Configure Source to Target Key Field Association Using Java
To configure the source to target key field association for your mapping, use the XMLObjectReferenceMapping method addSourceToTargetKeyFieldAssociation to add a specified source and target XPath pair to the map.
Configuring Reference Class
This option is applicable to key on source-based mappings.
Use this option to define the reference class, whose instances your XML object reference mapping will store in the domain objects.
This table summarizes which XML mappings support source to target key field association configuration.
XML Mapping Support for Reference Class Configuration
XML Mapping | Using the Workbench | Using Java |
---|---|---|
How to Configure Reference Class Using Java
To configure a reference class for your mapping, use the AggregateMapping method setReferenceClass.
Configuring the Use of Inline Binary Data
This option is applicable to binary data mappings.
Use this option to define whether or not there should always be inline binary data for this mapping.
This table summarizes which XML mappings support the use of inline binary data configuration.
XML Mapping Support for the Use of Inline Binary Data Configuration
XML Mapping | Using the Workbench | Using Java |
---|---|---|
How to Configure the Use of Inline Binary Data Using Java
To configure the use of inline binary data for your mapping, use the XMLBinaryDataMapping or XMLBinaryDataCollectionMapping method setShouldInlineBinaryData. If you set it to true, you disable consideration for attachment handling for this mapping and indicate that you only want inline data.
Configuring the Use of SwaRef Type
This option is applicable to binary data mappings.
Use this option to specify that the target node of this mapping is of type xs:swaref.
This table summarizes which XML mappings support the use of SwaRef type configuration.
XML Mapping Support for the Use of SwaRef Type Configuration
XML Mapping | Using the Workbench | Using Java |
---|---|---|
How to Configure the Use of SwaRef Type Using Java
To configure the use of SwaRef type for your mapping, use the XMLBinaryDataMapping or XMLBinaryDataCollectionMapping method setSwaRef. If you set it to true, you indicate that the target node of this mapping is of type xs:swaref.
Configuring the Choice Element
This option is applicable to choice mappings.
Use this option to specify an XPath and the type assocated with this XPath.
This table summarizes which XML mappings support the choice element configuration.
XML Mapping Support for the Choice Element Configuration
XML Mapping | Using the Workbench | Using Java |
---|---|---|
How to Configure the Choice Element Using Java
Use the following XMLChoiceObjectMapping or XMLChoiceCollectionMapping methods to add choice element:
- addChoiceElement(String xpath, Class elementType)
- addChoiceElement(String xpath, String elementTypeName)