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 11: | Line 11: | ||
</css> | </css> | ||
<div class="widetoc">__TOC__</div> <div style="font-size: 0.8em;"><div style="float: left; width: 50%;"> | <div class="widetoc">__TOC__</div> <div style="font-size: 0.8em;"><div style="float: left; width: 50%;"> | ||
− | = [[EclipseLink/UserGuide/MOXy/Overview|Overview]] -- About EclipseLink and JAXB = | + | = [[EclipseLink/UserGuide/MOXy/Overview|Overview]] -- About EclipseLink and JAXB = |
− | == [[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 ]] == | ||
Line 19: | Line 19: | ||
= [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping Dynamic|Dynamic JAXB]] = | = [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping Dynamic|Dynamic JAXB]] = | ||
− | == [[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]] == | + | == [[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]] == |
== [[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]] == | ||
Line 37: | Line 37: | ||
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] === | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] === | ||
− | = | + | = 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]] == | ||
Line 45: | Line 45: | ||
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Single Project|From a Single Project]] === | === [[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]] === |
=== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Generating Schema|Generating Schema]] === | === [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Generating Schema|Generating Schema]] === | ||
Line 63: | Line 63: | ||
=== From Multiple Projects === | === From Multiple Projects === | ||
− | ==== [[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]] = ==== |
==== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] ==== | ==== [[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/Multiple Project/From sessions.xml using DynamicEntities|From sessions.xml using DynamicEntities]] ==== | ||
− | === [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Validating Against an XML Schema|Validating Against an XML Schema]] === | + | === [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Validating Against an XML Schema|Validating Against an XML Schema]] === |
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Events|Events]] === | === [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Events|Events]] === | ||
=== [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Handling Unmapped Content|Handling Unmapped Content]] === | === [[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects/Handling Unmapped Content|Handling Unmapped Content]] === | ||
− | |||
== [[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]] == | == [[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]] == | ||
− | |||
== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML|Convert Objects to XML (Marshalling)]] == | == [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML|Convert Objects to XML (Marshalling)]] == | ||
Line 83: | Line 81: | ||
=== [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Properties|Properties (Formatting & Encoding)]] === | === [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Properties|Properties (Formatting & Encoding)]] === | ||
− | === [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Events|Events]] === | + | === [[EclipseLink/UserGuide/MOXy/Runtime/Convert Objects to XML/Events|Events]] === |
== [[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 119: | Line 117: | ||
= Mapping Relationships = | = Mapping Relationships = | ||
− | == [[EclipseLink/UserGuide/MOXy/Relationships/ | + | == [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned|Mapping Privately Owned Relationships]] == <!-- |
− | <!-- | + | |
=== [[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]] === | ||
=== [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|Mapping One-to-Many Relationships]] === | === [[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|Mapping One-to-Many Relationships]] === | ||
− | --> | + | --> |
+ | |||
== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference|Shared Reference Mappings]] == | == [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference|Shared Reference Mappings]] == | ||
Line 135: | Line 133: | ||
==== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Embedded Key Class|Embedded Key Class]] ==== | ==== [[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Embedded Key Class|Embedded Key Class]] ==== | ||
− | --> | + | --> |
+ | |||
== [[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|Mapping Collections and Maps]] == | == [[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|Mapping Collections and Maps]] == | ||
− | == [[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]] | + | == [[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]] == |
= Advanced XML Schema Concepts = | = Advanced XML Schema Concepts = | ||
Line 156: | Line 155: | ||
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]] == | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Converters|Converters]] == | ||
− | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping| | + | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/Transformation Mapping|XML Transformations]] == |
== [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] == | == [[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]] == | ||
Line 175: | Line 174: | ||
= [[EclipseLink/UserGuide/MOXy/Web Services|Web Services]] = | = [[EclipseLink/UserGuide/MOXy/Web Services|Web Services]] = | ||
− | </div> </div> <div style="clear: both;"> </div> | + | </div> </div> <div style="clear: both;"> </div> <div style="display: block;"> |
− | + | ''''Table of Contents '''' | |
− | <div style="display:block;"> | + | |
− | + | ||
− | '''' 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. | 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. | ||
Line 188: | Line 184: | ||
##Metadata | ##Metadata | ||
##Annotations | ##Annotations | ||
− | ##<strike>[[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]]</strike> [[Image:Accept.png]] | + | ##<strike>[[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]]</strike> [[Image:Accept.png]] |
#[[EclipseLink/UserGuide/MOXy/Runtime|Runtime]] <br>[[Image:Elug about icon.png]] Review | #[[EclipseLink/UserGuide/MOXy/Runtime|Runtime]] <br>[[Image:Elug about icon.png]] Review | ||
##<strike>[[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]]</strike> [[Image:Accept.png]] | ##<strike>[[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime|Specifying the EclipseLink Runtime]]</strike> [[Image:Accept.png]] |
Revision as of 13:43, 4 May 2011
Contents
- 1 Overview -- About EclipseLink and JAXB
- 2 Dynamic JAXB
- 3 Runtime
- 3.1 Specifying the EclipseLink Runtime
- 3.2 Bootstrapping
- 3.3 Converting XML to Objects (Unmarshalling)
- 3.4 Querying Objects by XPath
- 3.5 Convert Objects to XML (Marshalling)
- 3.6 Binding to an Existing Document
- 4 Type Level
- 5 Mapping Simple Values and Collections
- 6 Mapping Relationships
- 7 Advanced XML Schema Concepts
- 8 Mapping the Unmappable
- 9 Customizing Schemas
- 10 Generating Java Classes from an XML Schema
- 11 Mapping JPA Entities to XML
- 12 Web Services
Overview -- About EclipseLink and JAXB
About EclipseLink
JAXB Overview
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
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
Querying Objects by XPath
Convert Objects to XML (Marshalling)
Targets (DOM, SAX, StAX, Streams)
Properties (Formatting & Encoding)
Events
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 Collections and Maps
Bidirectional Relationships
Advanced XML Schema Concepts
Handling Null Values
Substitution Groups and Choices
XMLChoiceObjectMapping
XMLChoiceCollectionMapping
Wildcard Content
Mapping the Unmappable
Converters
XML Transformations
XMLFragmentMapping
XMLFragmentCollectionMapping
Customizing Schemas
Generating Java Classes from an XML Schema
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