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/Development/Documentation/MOXy"

m (Table of Contents)
m (Table of Contents)
Line 38: Line 38:
 
###[[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|<strike>Binding to an Existing Document</strike>]] [[Image:accept.png]]<br><br>  
+
##[[EclipseLink/UserGuide/MOXy/Runtime/Binding to an Existing Document|<strike>Binding to an Existing Document</strike>]] [[Image:Accept.png]]<br><br>  
 
#[[EclipseLink/UserGuide/MOXy/Type Level|Type Level]] - A  
 
#[[EclipseLink/UserGuide/MOXy/Type Level|Type Level]] - A  
 
##[[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element|Mapping to a Type or Element]] - A  
 
##[[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element|Mapping to a Type or Element]] - A  
Line 63: Line 63:
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned|Privately Owned]] - A  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned|Privately Owned]] - A  
 
###<strike>[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-One|Mapping One-to-One Relationships]] - A&nbsp; </strike> [[Image:Accept.png]]  
 
###<strike>[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-One|Mapping One-to-One Relationships]] - A&nbsp; </strike> [[Image:Accept.png]]  
###[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|<strike>Mapping One-to-Many Relationships</strike>]]<strike>- A</strike>&nbsp; [[Image:accept.png]]<br><br>  
+
###[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|<strike>Mapping One-to-Many Relationships</strike>]]<strike>- A</strike>&nbsp; [[Image:Accept.png]]<br><br>  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference|Shared Reference]] - A  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference|Shared Reference]] - A  
 
###<!--[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys|Keys and Foreign Keys]] --> Keys and Foreign Keys - A  
 
###<!--[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys|Keys and Foreign Keys]] --> Keys and Foreign Keys - A  
Line 69: Line 69:
 
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|<strike>Mapping Composite Key Relationships</strike>]]<strike>- A</strike> [[Image:Accept.png]]<br>  
 
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|<strike>Mapping Composite Key Relationships</strike>]]<strike>- A</strike> [[Image:Accept.png]]<br>  
 
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Embedded Key Class|Embedded Key Class]] -A <br>''in progress''  
 
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Embedded Key Class|Embedded Key Class]] -A <br>''in progress''  
###[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Many-to-One|Many-to-One – XMLObjectReferenceMapping]] -A <br>''need info''
 
###[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Many-to-|Many-to-Many – XMLCollectionReferenceMapping]] - A <br>''need info''
 
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|Collections and Maps]]<br>''in progress''  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|Collections and Maps]]<br>''in progress''  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]]<br>''in progress''  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]]<br>''in progress''  
Line 76: Line 74:
 
###[[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships/XMLInverseMapping|XMLInverseMapping]]  
 
###[[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships/XMLInverseMapping|XMLInverseMapping]]  
 
#[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts|Advanced XML Schema Concepts]] - B  
 
#[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts|Advanced XML Schema Concepts]] - B  
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Handling Null Values|<strike>Handling Null Values</strike>]]<strike>&nbsp; </strike>[[Image:accept.png]]<br><br>
+
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Handling Null Values|<strike>Handling Null Values</strike>]]<strike>&nbsp; </strike>[[Image:Accept.png]]<br><br>  
 
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices|Substitution Groups and Choices]] <br>''Need info''  
 
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices|Substitution Groups and Choices]] <br>''Need info''  
 
###http://bdoughan.blogspot.com/2010/11/jaxb-and-inheritance-using-substitution.html  
 
###http://bdoughan.blogspot.com/2010/11/jaxb-and-inheritance-using-substitution.html  
Line 95: Line 93:
 
##[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]]  
 
##[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]]  
 
#[[EclipseLink/UserGuide/MOXy/Customizing Schemas|Customizing Schemas]] <br>''Need info''  
 
#[[EclipseLink/UserGuide/MOXy/Customizing Schemas|Customizing Schemas]] <br>''Need info''  
#[[EclipseLink/UserGuide/MOXy/Generating Java Classes from an XML Schema|<strike>Generating Java Classes from an XML Schema</strike>]]&nbsp; [[Image:accept.png]]<br><br>
+
#[[EclipseLink/UserGuide/MOXy/Generating Java Classes from an XML Schema|<strike>Generating Java Classes from an XML Schema</strike>]]&nbsp; [[Image:Accept.png]]<br><br>  
 
#[[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML|Mapping JPA Entities to XML]] <br>''Need info''  
 
#[[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML|Mapping JPA Entities to XML]] <br>''Need info''  
 
##http://wiki.eclipse.org/EclipseLink/Examples/MOXy/JPA  
 
##http://wiki.eclipse.org/EclipseLink/Examples/MOXy/JPA  
Line 106: Line 104:
 
###[[EclipseLink/UserGuide/MOXy/Web Services/Attachments/XMLBinaryDataMapping|XMLBinaryDataMapping]]  
 
###[[EclipseLink/UserGuide/MOXy/Web Services/Attachments/XMLBinaryDataMapping|XMLBinaryDataMapping]]  
 
###[[EclipseLink/UserGuide/MOXy/Web Services/Attachments/XMLBinaryDataCollectionMapping|XMLBinaryDataCollectionMapping]]  
 
###[[EclipseLink/UserGuide/MOXy/Web Services/Attachments/XMLBinaryDataCollectionMapping|XMLBinaryDataCollectionMapping]]  
#<strike> Using Eclipselink with Spring </strike> <!-- [[EclipseLink/UserGuide/MOXy/Spring|Using Eclipselink with Spring]] <br>''Need info'' -->
+
#<strike>Using Eclipselink with Spring </strike> <!-- [[EclipseLink/UserGuide/MOXy/Spring|Using Eclipselink with Spring]] <br>''Need info'' -->

Revision as of 10:22, 5 April 2011

EclipseLink MOXy User's Guide (under development)


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.

  1. Overview
    Generic EclipseLink info (i.e., non-MOXy) will be used to create a separate "Welcome to EclispeLink" guide.
    1. About EclipseLinkAccept.png 
    2. JAXB Overview Accept.png
    3. Metadata
    4. Annotations
    5. Static vs. Dynamic MOXy  Accept.png
      Elug about icon.png Review
  2. Runtime
    Elug about icon.png Review
    1. Specifying the EclipseLink Runtime Accept.png
    2. Bootstrapping - B
      in progress
      1. From a Single Project
      2. From Multiple Projects
      3. Generating Schema
    3. Dynamic JAXB Bootstrapping - B
      in progress
      http://wiki.eclipse.org/EclipseLink/Development/2.1/DynamicMOXy/296967/Documentation
      1. Specifying the EclipseLink Runtime Accept.png
      2. From an XML Schema
        Elug about icon.png Review
      3. From a Single Project
        1. From OXM using DynamicEntities
        2. From sessions.xml using DynamicEntities
      4. From Multiple Projects
        1. From OXM using DynamicEntities
        2. From sessions.xml using DynamicEntities
    4. Querying Objects by XPath
      need info
    5. Converting XML to Objects (Unmarshalling)
      in progress
      1. Sources (DOM, SAX, StAX, Streams)
      2. Validating Against an XML Schema
      3. Events
      4. Handling Unmapped Content
    6. Convert Objects to XML (Marshalling)
      need info
      1. Targets (DOM, SAX, StAX, Streams)
      2. Properties (Formatting & Encoding)
      3. Events
    7. Binding to an Existing Document Accept.png

  3. Type Level - A
    1. Mapping to a Type or Element - A
      1. Default Root Element Accept.png
    2. Setting Up Namespace Information Accept.png
    3. Creating Objects (Constructors & Factories)
    4. Handling Inheritance (need info)
      1. http://bdoughan.blogspot.com/2010/11/jaxb-and-inheritance-using-xsitype.html
      2. http://bdoughan.blogspot.com/2010/11/jaxb-and-inheritance-using-substitution.html
      3. http://bdoughan.blogspot.com/2010/11/jaxb-and-inheritance-moxy-extension.html
  4. Simple Values - A
    1. Single Values - A
      1. Mapping Simple Values Accept.png
    2. Colections -A
      1. Mappng Collections of Simple Values Accept.png
    3. Enums Accept.png
    4. Special Schema Types
      1. Date and Time Types (more info)
        1. http://bdoughan.blogspot.com/2011/01/jaxb-and-datetime-properties.html
      2. Binary Types
      3. Leveraging xsi:type
      4. Unions
  5. Relationships -A 
    1. Privately Owned - A
      1. Mapping One-to-One Relationships - A  Accept.png
      2. Mapping One-to-Many Relationships- A  Accept.png

    2. Shared Reference - A
      1. Keys and Foreign Keys - A
        1. Mapping Single Key Relationships- A Accept.png
        2. Mapping Composite Key Relationships- A Accept.png
        3. Embedded Key Class -A
          in progress
    3. Collections and Maps
      in progress
    4. Bidirectional Relationships
      in progress
      1. http://bdoughan.blogspot.com/2010/07/jpa-entities-to-xml-bidirectional.html
      2. XMLInverseMapping
  6. Advanced XML Schema Concepts - B
    1. Handling Null Values  Accept.png

    2. Substitution Groups and Choices
      Need info
      1. http://bdoughan.blogspot.com/2010/11/jaxb-and-inheritance-using-substitution.html
      2. XMLChoiceObjectMapping
      3. XMLChoiceCollectionMapping
    3. Wildcard Content
      Need info
      1. http://bdoughan.blogspot.com/2010/08/using-xmlanyelement-to-build-generic.html
      2. XMLAnyAttributeMapping
      3. XMLAnyObjectMapping
      4. XMLAnyCollectionMapping
  7. Mapping the Unmappable
    1. http://bdoughan.blogspot.com/2010/07/xmladapter-jaxbs-secret-weapon.html
    2. http://bdoughan.blogspot.com/2010/12/jaxb-and-immutable-objects.html
    3. http://bdoughan.blogspot.com/2010/08/xmltransformation-going-beyond.html
    4. Converters
    5. Transformation Mapping
    6. XMLFragmentMapping
    7. XMLFragmentCollectionMapping
  8. Customizing Schemas
    Need info
  9. Generating Java Classes from an XML Schema  Accept.png

  10. Mapping JPA Entities to XML
    Need info
    1. http://wiki.eclipse.org/EclipseLink/Examples/MOXy/JPA
    2. Properties
    3. Bidirectional Relationships
    4. Keys and Foreign Keys
  11. Web Services
    Need info
    1. Attachments
      1. http://bdoughan.blogspot.com/2011/03/jaxb-web-services-and-binary-data.html
      2. XMLBinaryDataMapping
      3. XMLBinaryDataCollectionMapping
  12. Using Eclipselink with Spring

Back to the top