Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/MOXy"

m (Basic)
m
Line 6: Line 6:
 
</div>
 
</div>
 
</div>
 
</div>
 +
<!--
 +
 
<div>
 
<div>
 
<div style="border:1px solid #d9d9d9;-moz-border-radius:8px 8px 8px 8px;background:#efefef;padding:10px;margin-right:125px;margin-bottom:5em;">
 
<div style="border:1px solid #d9d9d9;-moz-border-radius:8px 8px 8px 8px;background:#efefef;padding:10px;margin-right:125px;margin-bottom:5em;">
Line 37: Line 39:
 
</table></div>
 
</table></div>
 
</div>
 
</div>
[http://wiki.eclipse.org/Category:XML Old version 1.x Documentation]
+
-->
  
[[Category: XML]]
+
<css>
[[Category:EclipseLink/Documentation|MOXy (JAXB) User's Guide]]
+
.editsection {display:none;}
 +
#bodyContent h2, #bodyContent h3 {margin-bottom:3px;}
 +
li.toclevel-2, li.toclevel-3, li.toclevel-4 {display:none;}
 +
h1 {padding-top:1em;border-bottom:none;}
 +
h2 span.mw-headline {font-size:0.8em;text-transform:uppercase;font-weight:bold;}
 +
h2, h3, h4 {border-bottom:none;padding-top:0;padding-bottom:0}
 +
h3 span.mw-headline {font-size:0.9em;margin-left:1em;font-weight:normal;}
 +
h4 span.mw-headline {margin-left:2em;font-weight:normal;}
 +
.widetoc #toc {width:99%;}
 +
</css>
 +
<div class="widetoc">__TOC__</div> <div style="font-size: 0.8em;">
  
 +
<div style="float: left; width: 49%;">
 +
= Overview <br> =
  
<hr />
+
== [[EclipseLink/UserGuide/MOXy/Overview|About EclipseLink]]  ==
  
==Complete Table of Contents:==
+
== [[EclipseLink/UserGuide/MOXy/Overview/JAXB|JAXB Overview ]]  [[Image:Accept.png]]  ==  
  
===MOXy Introduction===
+
= Runtime  =
*[[EclipseLink/UserGuide/MOXy/Overview|Overview]]
+
**[[EclipseLink/UserGuide/MOXy/Overview/MOXy|MOXy Overiew]]
+
**<!--[[EclipseLink/UserGuide/MOXy/Overview/Metadata|Metadata]] --> Metadata
+
**<!--[[EclipseLink/UserGuide/MOXy/Overview/Annotations|Annotations]] --> Annotations
+
**[[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]]
+
  
=== Basic ===
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]] [[Image:Accept.png]] ==
  
*[[EclipseLink/UserGuide/MOXy/Runtime|Runtime]]
+
== Bootstrapping  ==
**[[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]]
+
 
**<!-- [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping|Bootstrapping]] --> Bootstrapping
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project|From a Single Project]] [[Image:Accept.png]] ===
***[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project|From a Single Project]]  
+
 
***[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Projects|From Multiple Projects]]  
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Projects|From Multiple Projects]] [[Image:Accept.png]] ===
***[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Generating Schema|Generating Schema]]  
+
 
**[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping Dynamic|Dynamic JAXB Bootstrapping]]
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Generating Schema|Generating Schema]] [[Image:Accept.png]] ===
***[[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime/Using DynamicEntities|Specifying the EclipseLink Runtime]]
+
 
***[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]]  
+
== Converting XML to Objects (Unmarshalling) ==
***From a Single Project
+
 
****[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From OXM using DynamicEntities|From OXM using DynamicEntities]]
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Sources|Sources (DOM, SAX, StAX, Streams)]] [[Image:Elug_Delete.png‎ ]] ===
****<!-- [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] --> From sessions.xml using Dynamic Entities
+
 
***From Multiple Projects
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Handling Unmapped Content|Handling Unmapped Content]] [[Image:Elug_Delete.png‎ ]] ===
****[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From OXM using DynamicEntities|From OXM using DynamicEntities]]
+
 
****<!--[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] --> From sessions.xml using DynamicEntities
+
== Convert Objects to XML (Marshalling) ==
**<!--[[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]] --> [[EclipseLink/UserGuide/MOXy/Runtime/Querying_Objects_by_XPath|Querying by XPath]]
+
 
**<!--[[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects|Converting XML to Objects (Unmarshalling)]] --> Converting XML to Objects (Unmarshalling)  
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Targets|Targets (DOM, SAX, StAX, Streams)]] [[Image:Elug_Delete.png‎ ]] ===
***<!--[[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Sources|Sources (DOM, SAX, StAX, Streams)]] --> Sources (DOM, SAX, StAX, Streams)
+
 
***<!--[[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Validating Against an XML Schema|Validating Against an XML Schema]] --> Validating Against an XML Schema
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Properties|Properties (Formatting &amp; Encoding)]] [[Image:Elug_Delete.png‎ ]] ===
***<!--[[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Events|Events]] --> Events
+
 
***<!--[[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Handling Unmapped Content|Handling Unmapped Content]] -->Handling Unmapped Content
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Validating Against an XML Schema|Validating Against an XML Schema]] [[Image:Accept.png]] ==
**<!--[[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML|Convert Objects to XML (Marshalling)]] -->Convert Objects to XML (Marshalling)  
+
 
***<!--[[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Targets|Targets (DOM, SAX, StAX, Streams)]] -->Targets (DOM, SAX, StAX, Streams)
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Events|Events]] [[Image:Accept.png]] ==
***<!--[[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Properties|Properties (Formatting &amp; Encoding)]] -->Properties (Formatting &amp; Encoding)
+
 
***<!--[[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Events|Events]] -->Events
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]]  [[Image:Accept.png]]  ==
**[[EclipseLink/UserGuide/MOXy/Runtime/Binding to an Existing Document|Binding to an Existing Document]]  
+
 
*<!--[[EclipseLink/UserGuide/MOXy/Type Level|Type Level]]--> Type Level  
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Binding to an Existing Document|Binding to an Existing Document]] [[Image:Accept.png]] ==
**<!--[[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element|Mapping to a Type or Element]] --> Mapping to a Type or Element
+
 
***[[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element/Default Root Element|Default Root Element]]  
+
= Type Level =
**[[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]]  
+
 
**<!--[[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors &amp; Factories)]] -->Creating Objects (Constructors &amp; Factories)
+
== [[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element|Mapping to a Type or Element]] [[Image:Accept.png]] ==
**[[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]]  
+
 
*Simple Values  
+
=== [[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element/Default Root Element|Default Root Element]] [[Image:Accept.png]] ===
**[[EclipseLink/UserGuide/MOXy/Simple Values/Single Values/XMLDirectMapping|Mapping Simple Values]]  
+
 
**[[EclipseLink/UserGuide/MOXy/Simple Values/Collections/XMLDirectCollectionMapping|Mapping Collections of Simple Values]]  
+
== [[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]] [[Image:Accept.png]] ==
**[[EclipseLink/UserGuide/MOXy/Simple Values/Enums|Enums]]  
+
 
**<!-- [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types|Special Schema Types]] -->Special Schema Types  
+
== [[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors &amp; Factories)]] [[Image:Elug_Delete.png‎ ]] ==
***<!-- [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Date and Time Types|Date and Time Types]] -->Date and Time Types
+
 
***<!-- [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Binary Types|Binary Types]] -->Binary Types
+
== [[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]] [[Image:Accept.png]]  ==
***<!-- [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Leveraging xsi:type|Leveraging xsi:type]] -->Leveraging xsi:type
+
 
***<!-- [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Unions|Unions]] -->Unions
+
=  Mapping Simple Values and Collections  =
*<!-- [[EclipseLink/UserGuide/MOXy/Relationships|Relationships]] --> Relationships
+
 
**<!-- [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned|Privately Owned]] --> Privately owned
+
== [[EclipseLink/UserGuide/MOXy/Simple Values/Single Values/XMLDirectMapping|Mapping Simple Values]] [[Image:Accept.png]] ==
***[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-One|Mapping One-to-One Relationships]]  
+
 
***[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|One-to-Many – XMLCompositeCollectionMapping]] <!-- **[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference|Shared Reference]] -->
+
== [[EclipseLink/UserGuide/MOXy/Simple Values/Collections/XMLDirectCollectionMapping|Mapping Collections of Simple Values]] [[Image:Accept.png]] ==
**Shared Reference  
+
 
***<!--[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys|Keys and Foreign Keys]] --> Keys and Foreign Keys
+
== [[EclipseLink/UserGuide/MOXy/Simple Values/Enums|Enums]] [[Image:Accept.png]] ==
****[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Single Key|Single Key]]  
+
 
****[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|Composite Key]]  
+
== Special Schema Types ==
****<!-- [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Embedded Key Class|Embedded Key Class]] --> Embedded Key Class
+
 
***<!-- [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Many-to-One|Many-to-One – XMLObjectReferenceMapping]] --> Many-to-One – XMLObjectReferenceMapping
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Date and Time Types|Date and Time Types]] [[Image:Accept.png]] ===
***<!-- [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Many-to-|Many-to-Many – XMLCollectionReferenceMapping]] --> Many-to-Many – XMLCollectionReferenceMapping
+
 
**[[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|Collections and Maps]]
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Binary Types|Binary Types]] [[Image:Elug_Delete.png‎ ]] ===
**[[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional_Relationships|Bidirectional Relationships ]](@XMLInverseMapping)
+
 
*<!-- [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts|Advanced XML Schema Concepts]] --> Advanced XML Schema Concepts  
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Leveraging xsi:type|Leveraging xsi:type]] [[Image:Elug_Delete.png‎ ]] ===
**[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Handling Null Values|Handling Null Values]]  
+
 
**<!-- [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices|Substitution Groups and Choices]] -->[[EclipseLink/UserGuide/MOXy/Advanced_XML_Schema_Concepts/Substitution_Groups_and_Choices|Substitution Groups and Choices ]]
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Unions|Unions]] [[Image:Accept.png]] ===
***<!--[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices/XMLChoiceObjectMapping|XMLChoiceObjectMapping]]  -->XMLChoiceObjectMapping
+
</div> <div style="clear: right;">&nbsp;</div> <div style="float:right;width:49%">
***<!--[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices/XMLChoiceCollectionMapping|XMLChoiceCollectionMapping]]  -->XMLChoiceCollectionMapping
+
= Mapping Relationships =
**<!--[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content|Wildcard Content]]  -->Wildcard Content<br>
+
 
***<!--[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyAttributeMapping|XMLAnyAttributeMapping]] --> XMLAnyAttributeMapping
+
== Mapping Privately Owned Relationships ==
***<!--[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyObjectMapping|XMLAnyObjectMapping]]  -->XMLAnyObjectMapping
+
 
***<!--[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyCollectionMapping|XMLAnyCollectionMapping]] -->XMLAnyCollectionMapping
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-One|Mapping One-to-One Relationships]] [[Image:Accept.png]]  ===
*<!--[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable|Mapping the Unmappable]] -->Mapping the Unmappable
+
 
**[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]]  
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|Mapping One-to-Many Relationships]] [[Image:Accept.png]] ===
**[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping|Transformation Mapping]]  
+
 
**<!--[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] -->XMLFragmentMapping
+
 
**<!--[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]] -->XMLFragmentCollectionMapping
+
== Shared Reference Mappings ==
*<!--[[EclipseLink/UserGuide/MOXy/Customizing Schemas|Customizing Schemas]] -->Customizing Schemas
+
 
*[[EclipseLink/UserGuide/MOXy/Generating Java Classes from an XML Schema|Generating Java Classes from an XML Schema]]  
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Single Key|Mapping Single Key Relationships]] [[Image:Accept.png]] ===
*<!-- [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML|Mapping JPA Entities to XML]] --> Mapping JPA Entities to XML  
+
 
**<!-- [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Lazily Loaded Fields/Properties|Properties]] --> Properties
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|Mapping Composite Key Relationships]] [[Image:Accept.png]] ===
**<!-- [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Bidirectional Relationships|Bidirectional Relationships]] --> Bidirectional Relationships
+
 
**<!--[[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Keys and Foreign Keys|Keys and Foreign Keys]]  --> Keys and Foreign Keys
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]] [[Image:Accept.png]] ===
*<!-- [[EclipseLink/UserGuide/MOXy/Web Services|Web Services]] --> Web Services
+
 
**<!-- [[EclipseLink/UserGuide/MOXy/Web Services/Attachments|Attachments]]  -->Attachments
+
= Advanced XML Schema Concepts =
***<!-- [[EclipseLink/UserGuide/MOXy/Web Services/Attachments/XMLBinaryDataMapping|XMLBinaryDataMapping]] -->XMLBinaryDataMapping
+
 
***<!-- [[EclipseLink/UserGuide/MOXy/Web Services/Attachments/XMLBinaryDataCollectionMapping|XMLBinaryDataCollectionMapping]] -->XMLBinaryDataCollectionMapping
+
== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Handling Null Values|Handling Null Values]] [[Image:Elug_Delete.png‎ ]]  ==
*[[EclipseLink/UserGuide/MOXy/Spring|Using Eclipselink with Spring]]
+
 
 +
== Choice Mappings  ==
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices/XMLChoiceObjectMapping|XMLChoiceObjectMapping]] [[Image:Elug_Delete.png‎ ]] ===
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices/XMLChoiceCollectionMapping|XMLChoiceCollectionMapping]]  [[Image:Elug_Delete.png‎ ]] ===
 +
 
 +
== Wildcard Content  ==
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyAttributeMapping|Any Attribute Mapping]] [[Image:Elug_Delete.png‎ ]]  ===
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyObjectMapping|Any Element Mapping]]  [[Image:Elug_Delete.png‎ ]] ===
 +
 
 +
= Mapping the Unmappable  =
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]] [[Image:Elug about icon.png]]  ==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping|XML Transformations]]  [[Image:Accept.png]]  ==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] [[Image:Elug_Delete.png]] ==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]] [[Image:Elug_Delete.png]]  ==
 +
 
 +
= Customizing Schemas [[Image:Elug_Delete.png‎ ]]  =
 +
 
 +
= Generating Java Classes from an XML Schema  =
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Generating_Java_Classes_from_an_XML_Schema|JAXB Compiler]] [[Image:Accept.png]] ==
 +
 
 +
= Dynamic JAXB  =
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]] [[Image:Accept.png]] ==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime/Using DynamicEntities|Specifying the EclipseLink Runtime]]  [[Image:Accept.png]] ==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]] [[Image:Accept.png]]  ==
 +
 
 +
== From a Single Project  ==
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From OXM using DynamicEntities|From OXM using DynamicEntities]] [[Image:Elug about icon.png]] ===
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] [[Image:Elug about icon.png]] ===
 +
 
 +
== From Multiple Projects  ==
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From OXM using DynamicEntities|From OXM using DynamicEntities]] [[Image:Elug about icon.png]] ===
 +
 
 +
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] [[Image:Elug about icon.png]] ===
 +
 
 +
= Mapping JPA Entities to XML =
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Lazily Loaded Fields/Properties|Properties]] [[Image:Elug about icon.png]] ==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Bidirectional Relationships|Bidirectional Relationships]] [[Image:Elug about icon.png]]==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Keys and Foreign Keys|Keys and Foreign Keys]]  [[Image:Elug about icon.png]]==
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Embedded Key Class|Embedded Key Class]] [[Image:Elug about icon.png]] ==
 +
 
 +
= Web Services =
 +
 
 +
== [[EclipseLink/UserGuide/MOXy/Web_Services|JAX-WS Implementation]] [[Image:Elug about icon.png]] ==
 +
 
 +
 
 +
</div> </div> <div style="clear: both;">&nbsp;</div>
 +
 
 +
 
 +
 
 +
[http://wiki.eclipse.org/Category:XML Old version 1.x Documentation]
 +
 
 +
[[Category: XML]]
 +
[[Category:EclipseLink/Documentation|MOXy (JAXB) User's Guide]]

Revision as of 07:57, 6 June 2011

Eclipselink-logo.gif

The EclipseLink MOXy (JAXB) User's Guide

Version 2.2.0


Contents

Overview

About EclipseLink

JAXB Overview Accept.png

Runtime

Specifying the EclipseLink Runtime Accept.png

Bootstrapping

From a Single Project Accept.png

From Multiple Projects Accept.png

Generating Schema Accept.png

Converting XML to Objects (Unmarshalling)

Sources (DOM, SAX, StAX, Streams) Elug Delete.png

Handling Unmapped Content Elug Delete.png

Convert Objects to XML (Marshalling)

Targets (DOM, SAX, StAX, Streams) Elug Delete.png

Properties (Formatting & Encoding) Elug Delete.png

Validating Against an XML Schema Accept.png

Events Accept.png

Querying Objects by XPath Accept.png

Binding to an Existing Document Accept.png

Type Level

Mapping to a Type or Element Accept.png

Default Root Element Accept.png

Setting Up Namespace Information Accept.png

Creating Objects (Constructors & Factories) Elug Delete.png

Handling Inheritance Accept.png

Mapping Simple Values and Collections

Mapping Simple Values Accept.png

Mapping Collections of Simple Values Accept.png

Enums Accept.png

Special Schema Types

Date and Time Types Accept.png

Binary Types Elug Delete.png

Leveraging xsi:type Elug Delete.png

Unions Accept.png

 

Mapping Relationships

Mapping Privately Owned Relationships

Mapping One-to-One Relationships Accept.png

Mapping One-to-Many Relationships Accept.png

Shared Reference Mappings

Mapping Single Key Relationships Accept.png

Mapping Composite Key Relationships Accept.png

Bidirectional Relationships Accept.png

Advanced XML Schema Concepts

Handling Null Values Elug Delete.png

Choice Mappings

XMLChoiceObjectMapping Elug Delete.png

XMLChoiceCollectionMapping Elug Delete.png

Wildcard Content

Any Attribute Mapping Elug Delete.png

Any Element Mapping Elug Delete.png

Mapping the Unmappable

Converters Elug about icon.png

XML Transformations Accept.png

XMLFragmentMapping Elug Delete.png

XMLFragmentCollectionMapping Elug Delete.png

Customizing Schemas Elug Delete.png

Generating Java Classes from an XML Schema

JAXB Compiler Accept.png

Dynamic JAXB

Static vs. Dynamic MOXy Accept.png

Specifying the EclipseLink Runtime Accept.png

From an XML Schema Accept.png

From a Single Project

From OXM using DynamicEntities Elug about icon.png

From sessions.xml using DynamicEntities Elug about icon.png

From Multiple Projects

From OXM using DynamicEntities Elug about icon.png

From sessions.xml using DynamicEntities Elug about icon.png

Mapping JPA Entities to XML

Properties Elug about icon.png

Bidirectional Relationships Elug about icon.png

Keys and Foreign Keys Elug about icon.png

Embedded Key Class Elug about icon.png

Web Services

JAX-WS Implementation Elug about icon.png

 


Old version 1.x Documentation

Back to the top