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.
EclipseLink/Development/Documentation/MOXy
< EclipseLink | Development | Documentation
Revision as of 14:13, 4 May 2011 by Unnamed Poltroon (Talk)
Contents
- 1 Overview
- 2 Runtime
- 2.1 Specifying the EclipseLink Runtime
- 2.2 Bootstrapping
- 2.3 Converting XML to Objects (Unmarshalling)
- 2.4 Convert Objects to XML (Marshalling)
- 2.5 Querying Objects by XPath
- 2.6 Binding to an Existing Document
- 3 Type Level
- 4 Mapping Simple Values and Collections
- 5 Mapping Relationships
- 6 Advanced XML Schema Concepts
- 7 Mapping the Unmappable
- 8 Customizing Schemas
- 9 Generating Java Classes from an XML Schema
- 10 Dynamic JAXB
- 11 Mapping JPA Entities to XML
- 12 Web Services
Overview
About EclipseLink
JAXB Overview ![Accept.png](/images/2/22/Accept.png)
Runtime
Specifying the EclipseLink Runtime ![Accept.png](/images/2/22/Accept.png)
Bootstrapping
From a Single Project ![Accept.png](/images/2/22/Accept.png)
From Multiple Projects ![Accept.png](/images/2/22/Accept.png)
Generating Schema ![Accept.png](/images/2/22/Accept.png)
Converting XML to Objects (Unmarshalling)
Sources (DOM, SAX, StAX, Streams) ![Accept.png](/images/2/22/Accept.png)
From an XML Schema ![Accept.png](/images/2/22/Accept.png)
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
Validating Against an XML Schema
Events
Handling Unmapped Content
Convert Objects to XML (Marshalling)
Targets (DOM, SAX, StAX, Streams)
Properties (Formatting & Encoding)
Events
Querying Objects by XPath ![Accept.png](/images/2/22/Accept.png)
Binding to an Existing Document
Type Level
Mapping to a Type or Element ![Accept.png](/images/2/22/Accept.png)
Default Root Element ![Accept.png](/images/2/22/Accept.png)
Setting Up Namespace Information ![Accept.png](/images/2/22/Accept.png)
Creating Objects (Constructors & Factories)
Handling Inheritance ![Accept.png](/images/2/22/Accept.png)
Mapping Simple Values and Collections
Mapping Simple Values ![Accept.png](/images/2/22/Accept.png)
Mapping Collections of Simple Values ![Accept.png](/images/2/22/Accept.png)
Enums ![Accept.png](/images/2/22/Accept.png)
Special Schema Types
Date and Time Types
Binary Types
Leveraging xsi:type
Unions ![Accept.png](/images/2/22/Accept.png)
Mapping Relationships
Mapping Privately Owned Relationships ![Accept.png](/images/2/22/Accept.png)
Bidirectional Relationships ![Accept.png](/images/2/22/Accept.png)
Advanced XML Schema Concepts
Handling Null Values
Choice Mappings
XMLChoiceObjectMapping
XMLChoiceCollectionMapping
Wildcard Content
Any Attribute Mapping
Any Element Mapping
Mapping the Unmappable
Converters ![Accept.png](/images/2/22/Accept.png)
XML Transformations ![Accept.png](/images/2/22/Accept.png)
XMLFragmentMapping ![Accept.png](/images/2/22/Accept.png)
XMLFragmentCollectionMapping ![Accept.png](/images/2/22/Accept.png)
Customizing Schemas
Generating Java Classes from an XML Schema
Dynamic JAXB
Static vs. Dynamic MOXy ![Accept.png](/images/2/22/Accept.png)
Specifying the EclipseLink Runtime ![Accept.png](/images/2/22/Accept.png)
From an XML Schema ![Accept.png](/images/2/22/Accept.png)
From a Single Project
From OXM using DynamicEntities ![Accept.png](/images/2/22/Accept.png)
From sessions.xml using DynamicEntities ![Accept.png](/images/2/22/Accept.png)
From Multiple Projects
From OXM using DynamicEntities
From sessions.xml using DynamicEntities
Mapping JPA Entities to XML
Properties
Bidirectional Relationships
Keys and Foreign Keys
Web Services
'Table of Contents '
The following is the proposed TOC which is currently under development. Where applicable, show where existing ELUG wiki pages can be mined for initial content.
- Overview
Generic EclipseLink info (i.e., non-MOXy) will be used to create a separate "Welcome to EclispeLink" guide.About EclipseLink
JAXB Overview
- Metadata
- Annotations
Static vs. Dynamic MOXy
- Runtime
Review
Specifying the EclipseLink Runtime- Bootstrapping - B
- From a Single Project
Review
- From Multiple Projects
Review
- Generating Schema
Review
- From a Single Project
- Dynamic JAXB Bootstrapping
Review
Specifying the EclipseLink Runtime- From an XML Schema
Review
- From a Single Project
- From Multiple Projects
- Querying Objects by XPath
Review
- Converting XML to Objects (Unmarshalling)
- Sources (DOM, SAX, StAX, Sk Runtime/Using DynamicEntities|Specifying the EclipseLink Runtime</strike>
- From an XML Schema
Review
- From a Single Project
- From Multiple Projects
- Sources (DOM, SAX, StAX, Sk Runtime/Using DynamicEntities|Specifying the EclipseLink Runtime</strike>
- Querying Objects by XPath
Review
- Converting XML to Objects (Unmarshalling)
- Convert Objects to XML (Marshalling)
need info Binding to an Existing Document
- Type Level - A
- Simple Values - A
- Single Values - A
- Colections -A
Enums- Special Schema Types
- Date and Time Types
Review
- Binary Types
- Leveraging xsi:type
- Unions
Review
- Date and Time Types
- Relationships -A
- Privately Owned - A
- Shared Reference - A
- Keys and Foreign Keys - A
Mapping Single Key Relationships- A
Mapping Composite Key Relationships- A
- Embedded Key Class -A
in progress
- Keys and Foreign Keys - A
- Collections and Maps
Review
- Bidirectional Relationships (includes XMLInverseMapping)
Review
- Advanced XML Schema Concepts - B
Handling Null Values
- Substitution Groups and Choices
Review
- Wildcard Content
Need info
- Mapping the Unmappable
- http://bdoughan.blogspot.com/2010/07/xmladapter-jaxbs-secret-weapon.html
- http://bdoughan.blogspot.com/2010/12/jaxb-and-immutable-objects.html
- http://bdoughan.blogspot.com/2010/08/xmltransformation-going-beyond.html
- Converters
- Transformation Mapping
Review
- XMLFragmentMapping
- XMLFragmentCollectionMapping
- Customizing Schemas
Need info Generating Java Classes from an XML Schema
- Mapping JPA Entities to XML
http://wiki.eclipse.org/EclipseLink/Examples/MOXy/JPA- Properties
- Bidirectional Relationships
Review
- Keys and Foreign Keys
Review
- Web Services
Review