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/UserGuide/MOXy
The EclipseLink MOXy (JAXB) User's Guide
Version 2.2.0
Complete Table of Contents:
MOXy Introduction
- Overview
- MOXy Overiew
- Metadata
- Annotations
- Static vs. Dynamic MOXy
Basic
- Runtime
- Specifying the EclipseLink Runtime
- Bootstrapping
- Dynamic JAXB Bootstrapping
- Specifying the EclipseLink Runtime
- From an XML Schema
- From a Single Project
- From OXM using DynamicEntities
- From sessions.xml using Dynamic Entities
- From Multiple Projects
- From OXM using DynamicEntities
- From sessions.xml using DynamicEntities
- Querying by XPath
- Converting XML to Objects (Unmarshalling)
- Sources (DOM, SAX, StAX, Streams)
- Validating Against an XML Schema
- Events
- Handling Unmapped Content
- 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
- Setting Up Namespace Information
- Creating Objects (Constructors & Factories)
- Handling Inheritance
- Simple Values
- Mapping Simple Values
- Mapping Collections of Simple Values
- Enums
- Special Schema Types
- Date and Time Types
- Binary Types
- Leveraging xsi:type
- Unions
- Relationships
- Privately owned
- Shared Reference
- Keys and Foreign Keys
- Single Key
- Composite Key
- Embedded Key Class
- Many-to-One – XMLObjectReferenceMapping
- Many-to-Many – XMLCollectionReferenceMapping
- Keys and Foreign Keys
- Collections and Maps
- Bidirectional Relationships
- Advanced XML Schema Concepts
- Handling Null Values
- Substitution Groups and Choices
- XMLChoiceObjectMapping
- XMLChoiceCollectionMapping
- XMLChoiceCollectionMapping
- XMLAnyAttributeMapping
- XMLAnyObjectMapping
- XMLAnyCollectionMapping
- Mapping the Unmappable
- Customizing Schemas
- Generating Java Classes from an XML Schema
- Mapping JPA Entities to XML
- Web Services
- Using Eclipselink with Spring