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 "EclipseLink/Development/Documentation/MOXy"
< EclipseLink | Development | Documentation
m |
m |
||
Line 15: | Line 15: | ||
== [[EclipseLink/UserGuide/MOXy/Overview|About EclipseLink]] == | == [[EclipseLink/UserGuide/MOXy/Overview|About EclipseLink]] == | ||
− | == [[EclipseLink/UserGuide/MOXy/Overview/JAXB|JAXB Overview ]] == | + | == [[EclipseLink/UserGuide/MOXy/Overview/JAXB|JAXB Overview ]] [[Image:Accept.png]] == |
= Runtime = | = Runtime = | ||
− | == [[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]] == | + | == [[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]] [[Image:Accept.png]] == |
== Bootstrapping == | == Bootstrapping == | ||
− | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project|From a Single Project]] === | + | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project|From a Single Project]] [[Image:Accept.png]] === |
− | === [[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/Generating Schema|Generating Schema]] [[Image:Accept.png]] === |
== Converting XML to Objects (Unmarshalling) == | == Converting XML to Objects (Unmarshalling) == | ||
− | === [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Sources|Sources (DOM, SAX, StAX, Streams)]] === | + | === [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Sources|Sources (DOM, SAX, StAX, Streams)]] [[Image:Accept.png]] === |
− | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]] === | + | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]] [[Image:Accept.png]] === |
=== From a Single Project === | === From a Single Project === | ||
Line 61: | Line 61: | ||
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Events|Events]] === | === [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Events|Events]] === | ||
− | == [[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]] == | + | == [[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/Runtime/Binding to an Existing Document|Binding to an Existing Document]] == | ||
Line 67: | Line 67: | ||
= Type Level = | = Type Level = | ||
− | == [[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|Mapping to a Type or 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/Mapping to a Type or Element/Default Root Element|Default Root Element]] [[Image:Accept.png]] === |
− | == [[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]] == | + | == [[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]] [[Image:Accept.png]] == |
== [[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors & Factories)]] == | == [[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors & Factories)]] == | ||
− | == [[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]] == | + | == [[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]] [[Image:Accept.png]] == |
= <!-- [[EclipseLink/UserGuide/MOXy/Simple Values|Simple Values]] --> Mapping Simple Values and Collections = | = <!-- [[EclipseLink/UserGuide/MOXy/Simple Values|Simple Values]] --> Mapping Simple Values and Collections = | ||
− | == [[EclipseLink/UserGuide/MOXy/Simple Values/Single Values/XMLDirectMapping|Mapping Simple Values]] == | + | == [[EclipseLink/UserGuide/MOXy/Simple Values/Single Values/XMLDirectMapping|Mapping Simple Values]] [[Image:Accept.png]] == |
− | == [[EclipseLink/UserGuide/MOXy/Simple Values/Collections/XMLDirectCollectionMapping|Mapping Collections of Simple Values]] == | + | == [[EclipseLink/UserGuide/MOXy/Simple Values/Collections/XMLDirectCollectionMapping|Mapping Collections of Simple Values]] [[Image:Accept.png]] == |
− | == [[EclipseLink/UserGuide/MOXy/Simple Values/Enums|Enums]] == | + | == [[EclipseLink/UserGuide/MOXy/Simple Values/Enums|Enums]] [[Image:Accept.png]] == |
== Special Schema Types == | == Special Schema Types == | ||
Line 93: | Line 93: | ||
=== [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Leveraging xsi:type|Leveraging xsi:type]] === | === [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Leveraging xsi:type|Leveraging xsi:type]] === | ||
− | === [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Unions|Unions]] === | + | === [[EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Unions|Unions]] [[Image:Accept.png]] === |
</div> <div style="clear: right;"> </div> <div> | </div> <div style="clear: right;"> </div> <div> | ||
= Mapping Relationships = | = Mapping Relationships = | ||
− | == [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned|Mapping Privately Owned Relationships]] == <!-- | + | == [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned|Mapping Privately Owned 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-One|Mapping One-to-One Relationships]] === | ||
Line 115: | Line 115: | ||
--> | --> | ||
− | == [[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|<br>]][[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]] == | + | == [[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|<br>]][[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]] [[Image:Accept.png]] == |
= Advanced XML Schema Concepts = | = Advanced XML Schema Concepts = | ||
Line 135: | Line 135: | ||
= Mapping the Unmappable = | = Mapping the Unmappable = | ||
− | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]] == | + | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]] [[Image:Accept.png]] == |
− | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping|XML Transformations]] == | + | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping|XML Transformations]] [[Image:Accept.png]] == |
− | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] == | + | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] [[Image:Accept.png]] == |
− | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]] == | + | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]] [[Image:Accept.png]] == |
= Customizing Schemas = | = Customizing Schemas = | ||
Line 149: | Line 149: | ||
= Dynamic JAXB = | = Dynamic JAXB = | ||
− | == [[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]] == | + | == [[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]] == | + | == [[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]] == | + | == [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]] [[Image:Accept.png]] == |
== From a Single Project == | == From a Single Project == | ||
− | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From OXM using DynamicEntities|From OXM using DynamicEntities]] === | + | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From OXM using DynamicEntities|From OXM using DynamicEntities]] [[Image:Accept.png]] === |
− | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] === | + | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] [[Image:Accept.png]] === |
== From Multiple Projects == | == From Multiple Projects == |
Revision as of 14:13, 4 May 2011
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
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)
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
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
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
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
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
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
ReviewSpecifying 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
- 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