Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/MOXy"

m
m
Line 59: Line 59:
 
== [[EclipseLink/UserGuide/MOXy/Overview|About EclipseLink]]  ==
 
== [[EclipseLink/UserGuide/MOXy/Overview|About EclipseLink]]  ==
  
== [[EclipseLink/UserGuide/MOXy/Overview/JAXB|JAXB Overview ]] [[Image:Accept.png]]  ==  
+
== [[EclipseLink/UserGuide/MOXy/Overview/JAXB|JAXB Overview ]]   ==  
  
 
= Runtime  =
 
= Runtime  =
  
== [[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]]   ==
  
 
== 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]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Projects|From Multiple Projects]]   ===
  
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Generating Schema|Generating Schema]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Generating Schema|Generating Schema]]   ===
  
 
== Converting XML to Objects (Unmarshalling) ==
 
== Converting XML to Objects (Unmarshalling) ==
  
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Sources|Sources (DOM, SAX, StAX, Streams)]]  [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Sources|Sources (DOM, SAX, StAX, Streams)]]  ===
  
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Handling Unmapped Content|Handling Unmapped Content]] [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Handling Unmapped Content|Handling Unmapped Content]]   ===
  
 
== Convert Objects to XML (Marshalling) ==
 
== Convert Objects to XML (Marshalling) ==
  
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Targets|Targets (DOM, SAX, StAX, Streams)]] [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Targets|Targets (DOM, SAX, StAX, Streams)]] ===
  
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Properties|Properties (Formatting & Encoding)]] [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Properties|Properties (Formatting & Encoding)]] ===
  
== [[EclipseLink/UserGuide/MOXy/Runtime/Validating Against an XML Schema|Validating Against an XML Schema]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Validating Against an XML Schema|Validating Against an XML Schema]] ==
  
== [[EclipseLink/UserGuide/MOXy/Runtime/Events|Events]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Events|Events]] ==
  
== [[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]] [[Image:Accept.png]]  ==
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]]   ==
  
== [[EclipseLink/UserGuide/MOXy/Runtime/Binding to an Existing Document|Binding to an Existing Document]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Binding to an Existing Document|Binding to an Existing Document]] ==
  
 
= Type Level  =
 
= Type Level  =
  
== [[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/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]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element/Default Root Element|Default Root Element]]   ===
  
== [[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]]   ==
  
== [[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors & Factories)]] [[Image:Elug_Delete.png‎ ]] ==
+
== [[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors & Factories)]] ==
  
== [[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]] [[Image:Accept.png]]  ==
+
== [[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]]   ==
  
 
=  Mapping Simple Values and Collections  =
 
=  Mapping Simple Values and Collections  =
  
== [[EclipseLink/UserGuide/MOXy/Simple Values/Single Values/XMLDirectMapping|Mapping Simple Values]] [[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]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Simple Values/Collections/XMLDirectCollectionMapping|Mapping Collections of Simple Values]]   ==
  
== [[EclipseLink/UserGuide/MOXy/Simple Values/Enums|Enums]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Simple Values/Enums|Enums]]   ==
  
 
== Special Schema Types  ==
 
== Special Schema Types  ==
  
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Date and Time Types|Date and Time Types]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Date and Time Types|Date and Time Types]] ===
  
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Binary Types|Binary Types]] [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Binary Types|Binary Types]]   ===
  
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Leveraging xsi:type|Leveraging xsi:type]] [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Leveraging xsi:type|Leveraging xsi:type]] ===
  
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Unions|Unions]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Unions|Unions]]   ===
 
</div> <div style="clear: right;">&nbsp;</div> <div style="float:right;width:49%">
 
</div> <div style="clear: right;">&nbsp;</div> <div style="float:right;width:49%">
 
= Mapping Relationships  =
 
= Mapping Relationships  =
Line 127: Line 127:
 
== Mapping Privately Owned Relationships ==
 
== Mapping Privately Owned Relationships ==
  
=== [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-One|Mapping One-to-One Relationships]] [[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|Mapping One-to-Many Relationships]] [[Image:Accept.png]]  ===
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|Mapping One-to-Many Relationships]]   ===
  
  
 
== Shared Reference Mappings ==
 
== Shared Reference Mappings ==
  
=== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Single Key|Mapping Single Key Relationships]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Single Key|Mapping Single Key Relationships]] ===
  
=== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|Mapping Composite Key Relationships]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|Mapping Composite Key Relationships]] ===
  
=== [[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]] [[Image:Accept.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]] ===
  
 
= Advanced XML Schema Concepts  =
 
= Advanced XML Schema Concepts  =
  
== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Handling Null Values|Handling Null Values]] [[Image:Elug_Delete.png‎ ]]  ==
+
== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Handling Null Values|Handling Null Values]]   ==
  
 
== Choice Mappings  ==
 
== 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/XMLChoiceObjectMapping|XMLChoiceObjectMapping]]   ===
  
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices/XMLChoiceCollectionMapping|XMLChoiceCollectionMapping]] [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices/XMLChoiceCollectionMapping|XMLChoiceCollectionMapping]]   ===
  
 
== Wildcard Content  ==
 
== 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/XMLAnyAttributeMapping|Any Attribute Mapping]]   ===
  
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyObjectMapping|Any Element Mapping]] [[Image:Elug_Delete.png‎ ]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyObjectMapping|Any Element Mapping]]   ===
  
 
= Mapping the Unmappable  =
 
= Mapping the Unmappable  =
  
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]] [[Image:Elug about icon.png]]  ==
+
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]]  ==
  
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping|XML Transformations]] [[Image:Accept.png]]  ==
+
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping|XML Transformations]]   ==
  
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] [[Image:Elug_Delete.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] ==
  
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]] [[Image:Elug_Delete.png]]  ==
+
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]]   ==
  
= Customizing Schemas [[Image:Elug_Delete.png‎ ]]  =
+
= Customizing Schemas   =
  
 
= Generating Java Classes from an XML Schema  =
 
= Generating Java Classes from an XML Schema  =
  
== [[EclipseLink/UserGuide/MOXy/Generating_Java_Classes_from_an_XML_Schema|JAXB Compiler]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Generating_Java_Classes_from_an_XML_Schema|JAXB Compiler]] ==
  
 
= Dynamic JAXB  =
 
= Dynamic JAXB  =
  
== [[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]] [[Image:Accept.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]]   ==
  
== [[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime/Using DynamicEntities|Specifying the EclipseLink Runtime]] [[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]] [[Image:Accept.png]]  ==
+
== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]]   ==
  
 
== From a Single Project  ==
 
== 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 OXM using DynamicEntities|From OXM using DynamicEntities]]   ===
  
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] [[Image:Elug about icon.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]]   ===
  
 
== From Multiple Projects  ==
 
== 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/Single Project/From OXM using DynamicEntities|From OXM using DynamicEntities]]   ===
  
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] [[Image:Elug about icon.png]] ===
+
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]]   ===
  
 
= Mapping JPA Entities to XML  =
 
= 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/Lazily Loaded Fields/Properties|Properties]]   ==
  
== [[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/Bidirectional Relationships|Bidirectional Relationships]]  ==
  
== [[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/Keys and Foreign Keys|Keys and Foreign Keys]]  ==
  
== [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Embedded Key Class|Embedded Key Class]] [[Image:Elug about icon.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Embedded Key Class|Embedded Key Class]] ==
  
 
= Web Services  =
 
= Web Services  =
  
== [[EclipseLink/UserGuide/MOXy/Web_Services|JAX-WS Implementation]] [[Image:Elug about icon.png]] ==
+
== [[EclipseLink/UserGuide/MOXy/Web_Services|JAX-WS Implementation]] ==
  
  

Revision as of 07:59, 6 June 2011

Eclipselink-logo.gif

The EclipseLink MOXy (JAXB) User's Guide

Version 2.2.0


Contents

Overview

About EclipseLink

JAXB Overview

Runtime

Specifying the EclipseLink Runtime

Bootstrapping

From a Single Project

From Multiple Projects

Generating Schema

Converting XML to Objects (Unmarshalling)

Sources (DOM, SAX, StAX, Streams)

Handling Unmapped Content

Convert Objects to XML (Marshalling)

Targets (DOM, SAX, StAX, Streams)

Properties (Formatting & Encoding)

Validating Against an XML Schema

Events

Querying Objects by XPath

Binding to an Existing Document

Type Level

Mapping to a Type or Element

Default Root Element

Setting Up Namespace Information

Creating Objects (Constructors & Factories)

Handling Inheritance

Mapping Simple Values and Collections

Mapping Simple Values

Mapping Collections of Simple Values

Enums

Special Schema Types

Date and Time Types

Binary Types

Leveraging xsi:type

Unions

 

Mapping Relationships

Mapping Privately Owned Relationships

Mapping One-to-One Relationships

Mapping One-to-Many Relationships

Shared Reference Mappings

Mapping Single Key Relationships

Mapping Composite Key Relationships

Bidirectional Relationships

Advanced XML Schema Concepts

Handling Null Values

Choice Mappings

XMLChoiceObjectMapping

XMLChoiceCollectionMapping

Wildcard Content

Any Attribute Mapping

Any Element Mapping

Mapping the Unmappable

Converters

XML Transformations

XMLFragmentMapping

XMLFragmentCollectionMapping

Customizing Schemas

Generating Java Classes from an XML Schema

JAXB Compiler

Dynamic JAXB

Static vs. Dynamic MOXy

Specifying the EclipseLink Runtime

From an XML Schema

From a Single Project

From OXM using DynamicEntities

From sessions.xml using DynamicEntities

From Multiple Projects

From OXM using DynamicEntities

From sessions.xml using DynamicEntities

Mapping JPA Entities to XML

Properties

Bidirectional Relationships

Keys and Foreign Keys

Embedded Key Class

Web Services

JAX-WS Implementation

 


Old version 1.x Documentation

Back to the top