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 15:29, 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
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
Mapping One-to-One Relationships
Mapping One-to-Many 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
JAXB Compiler
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
JAX-WS Implementation
Status