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 7: Line 7:
 
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.  
  
#[[EclipseLink/UserGuide/MOXy/Overview|Overview]] <br><i>Generic EclipseLink info (i.e., non-MOXy) will be used to create a separate "Welcome to EclispeLink" guide.</i>
+
#[[EclipseLink/UserGuide/MOXy/Overview|Overview]] <br>''Generic EclipseLink info (i.e., non-MOXy) will be used to create a separate "Welcome to EclispeLink" guide.''
 
##[[EclipseLink/UserGuide/MOXy/Overview|About EclipseLink]] <br>[[Image:Elug about icon.png]] Review  
 
##[[EclipseLink/UserGuide/MOXy/Overview|About EclipseLink]] <br>[[Image:Elug about icon.png]] Review  
 
##[[EclipseLink/UserGuide/MOXy/Overview/JAXB|JAXB Overview ]]<br>[[Image:Elug about icon.png]] Review  
 
##[[EclipseLink/UserGuide/MOXy/Overview/JAXB|JAXB Overview ]]<br>[[Image:Elug about icon.png]] Review  
Line 14: Line 14:
 
##[[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]] <br>[[Image:Elug about icon.png]] Review  
 
##[[EclipseLink/UserGuide/MOXy/Overview/DynamicEntities|Static vs. Dynamic MOXy]] <br>[[Image:Elug about icon.png]] Review  
 
#[[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]]  
##Bootstrapping - B <br> <i>in progress</i>
+
##Bootstrapping - B <br> ''in progress''
 
###[[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]]  
##[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping Dynamic|Dynamic JAXB Bootstrapping]] - B <br> <i>in progress</i>
+
##[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping Dynamic|Dynamic JAXB Bootstrapping]] - B <br> ''in progress''
###<strike>[[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime/Using DynamicEntities|Specifying the EclipseLink Runtime]]</strike> [[Image:Accept.png]]
+
###<strike>[[EclipseLink/UserGuide/MOXy/Runtime/Specifying the EclipseLink Runtime/Using DynamicEntities|Specifying the EclipseLink Runtime]]</strike> [[Image:Accept.png]]  
 
###[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]] <br>[[Image:Elug about icon.png]] Review  
 
###[[EclipseLink/UserGuide/MOXy/Runtime/Bootstrapping/From Schema|From an XML Schema]] <br>[[Image:Elug about icon.png]] Review  
 
###From a Single Project  
 
###From a Single Project  
Line 28: Line 28:
 
####[[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/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]]  
##[[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]] <br> <i>need info</i>
+
##[[EclipseLink/UserGuide/MOXy/Runtime/Querying Objects by XPath|Querying Objects by XPath]] <br> ''need info''
##[[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects|Converting XML to Objects (Unmarshalling)]] <br> <i>in progress</i>
+
##[[EclipseLink/UserGuide/MOXy/Runtime/Converting XML to Objects|Converting XML to Objects (Unmarshalling)]] <br> ''in progress''
 
###[[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)]]  
 
###[[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]]  
Line 41: Line 41:
 
#[[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  
###<strike>[[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element/Default Root Element|Default Root Element]] </strike> [[Image:Accept.png]]
+
###<strike>[[EclipseLink/UserGuide/MOXy/Type Level/Mapping to a Type or Element/Default Root Element|Default Root Element]] </strike> [[Image:Accept.png]]  
##<strike>[[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]] </strike> [[Image:Accept.png]]
+
##<strike>[[EclipseLink/UserGuide/MOXy/Type Level/Setting Up Namespace Information|Setting Up Namespace Information]] </strike> [[Image:Accept.png]]  
 
##[[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors &amp; Factories)]]  
 
##[[EclipseLink/UserGuide/MOXy/Type Level/Creating Objects|Creating Objects (Constructors &amp; Factories)]]  
 
##[[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]]  
 
##[[EclipseLink/UserGuide/MOXy/Type Level/Handling Inheritance|Handling Inheritance]]  
Line 58: Line 58:
 
#[[EclipseLink/UserGuide/MOXy/Relationships|Relationships]] -A&nbsp;  
 
#[[EclipseLink/UserGuide/MOXy/Relationships|Relationships]] -A&nbsp;  
 
##[[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|One-to-Many – XMLCompositeCollectionMapping]] - A <br>[[Image:Elug about icon.png]] Review  
 
###[[EclipseLink/UserGuide/MOXy/Relationships/Privately Owned/One-to-Many|One-to-Many – XMLCompositeCollectionMapping]] - A <br>[[Image:Elug about icon.png]] Review  
 
##[[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  
 
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Single Key|Single Key]]- A<br>[[Image:Elug about icon.png]] Review <br>  
 
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Single Key|Single Key]]- A<br>[[Image:Elug about icon.png]] Review <br>  
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|Composite Key]] A  
+
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Composite Key|Composite Key]] A <br>[[Image:Elug about icon.png]] Review
####[[EclipseLink/UserGuide/MOXy/Relationships/Shared Reference/Keys and Foreign Keys/Embedded Key Class|Embedded Key Class]] -A  
+
####[[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  
+
###[[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  
+
###[[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]]  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Collections and Maps|Collections and Maps]]  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]]  
 
##[[EclipseLink/UserGuide/MOXy/Relationships/Bidirectional Relationships|Bidirectional Relationships]]  
 
###[[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|Handling Null Values]] <br>[[Image:Elug about icon.png]] Review  
+
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Handling Null Values|Handling Null Values]] <br>[[Image:Elug about icon.png]] Review  
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices|Substitution Groups and Choices]] <br><i>Need info</i>
+
##[[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/XMLChoiceObjectMapping|XMLChoiceObjectMapping]]  
 
###[[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]]  
 
###[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Substitution Groups and Choices/XMLChoiceCollectionMapping|XMLChoiceCollectionMapping]]  
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content|Wildcard Content]]   <br><i>Need info</i>
+
##[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content|Wildcard Content]] <br>''Need info''
 
###[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyAttributeMapping|XMLAnyAttributeMapping]]  
 
###[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyAttributeMapping|XMLAnyAttributeMapping]]  
 
###[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyObjectMapping|XMLAnyObjectMapping]]  
 
###[[EclipseLink/UserGuide/MOXy/Advanced XML Schema Concepts/Wildcard Content/XMLAnyObjectMapping|XMLAnyObjectMapping]]  
Line 84: Line 84:
 
##[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]]  
 
##[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentMapping|XMLFragmentMapping]]  
 
##[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]]  
 
##[[EclipseLink/UserGuide/MOXy/Mapping the Unmappable/XMLFragmentCollectionMapping|XMLFragmentCollectionMapping]]  
#[[EclipseLink/UserGuide/MOXy/Customizing Schemas|Customizing Schemas]]   <br><i>Need info</i>
+
#[[EclipseLink/UserGuide/MOXy/Customizing Schemas|Customizing Schemas]] <br>''Need info''
 
#[[EclipseLink/UserGuide/MOXy/Generating Java Classes from an XML Schema|Generating Java Classes from an XML Schema]] <br>[[Image:Elug about icon.png]] Review  
 
#[[EclipseLink/UserGuide/MOXy/Generating Java Classes from an XML Schema|Generating Java Classes from an XML Schema]] <br>[[Image:Elug about icon.png]] Review  
#[[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML|Mapping JPA Entities to XML]]   <br><i>Need info</i>
+
#[[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML|Mapping JPA Entities to XML]] <br>''Need info''
 
##[[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Lazily Loaded Fields/Properties|Properties]]  
 
##[[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]]  
 
##[[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]]  
 
##[[EclipseLink/UserGuide/MOXy/Mapping JPA Entities to XML/Keys and Foreign Keys|Keys and Foreign Keys]]  
#[[EclipseLink/UserGuide/MOXy/Web Services|Web Services]]   <br><i>Need info</i>
+
#[[EclipseLink/UserGuide/MOXy/Web Services|Web Services]] <br>''Need info''
 
##[[EclipseLink/UserGuide/MOXy/Web Services/Attachments|Attachments]]  
 
##[[EclipseLink/UserGuide/MOXy/Web Services/Attachments|Attachments]]  
 
###[[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]]  
#[[EclipseLink/UserGuide/MOXy/Spring|Using Eclipselink with Spring]] <br><i>Need info</i>
+
#[[EclipseLink/UserGuide/MOXy/Spring|Using Eclipselink with Spring]] <br>''Need info''

Revision as of 14:32, 11 March 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 EclipseLink
      Elug about icon.png Review
    2. JAXB Overview
      Elug about icon.png Review
    3. Metadata
    4. Annotations
    5. Static vs. Dynamic MOXy
      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
      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)
      1. Targets (DOM, SAX, StAX, Streams)
      2. Properties (Formatting & Encoding)
      3. Events
    7. Binding to an Existing Document
      Elug about icon.png Review
  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
  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 Review
    4. Special Schema Types
      1. Date and Time Types
      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. One-to-Many – XMLCompositeCollectionMapping - A
        Elug about icon.png Review
    2. Shared Reference - A
      1. Keys and Foreign Keys - A
        1. Single Key- A
          Elug about icon.png Review
        2. Composite Key A
          Elug about icon.png Review
        3. Embedded Key Class -A
          in progress
      2. Many-to-One – XMLObjectReferenceMapping -A
        need info
      3. Many-to-Many – XMLCollectionReferenceMapping - A
        need info
    3. Collections and Maps
    4. Bidirectional Relationships
      1. XMLInverseMapping
  6. Advanced XML Schema Concepts - B
    1. Handling Null Values
      Elug about icon.png Review
    2. Substitution Groups and Choices
      Need info
      1. XMLChoiceObjectMapping
      2. XMLChoiceCollectionMapping
    3. Wildcard Content
      Need info
      1. XMLAnyAttributeMapping
      2. XMLAnyObjectMapping
      3. XMLAnyCollectionMapping
  7. Mapping the Unmappable
    1. Converters
    2. Transformation Mapping
    3. XMLFragmentMapping
    4. XMLFragmentCollectionMapping
  8. Customizing Schemas
    Need info
  9. Generating Java Classes from an XML Schema
    Elug about icon.png Review
  10. Mapping JPA Entities to XML
    Need info
    1. Properties
    2. Bidirectional Relationships
    3. Keys and Foreign Keys
  11. Web Services
    Need info
    1. Attachments
      1. XMLBinaryDataMapping
      2. XMLBinaryDataCollectionMapping
  12. Using Eclipselink with Spring
    Need info

Back to the top