Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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/Features/MOXy"

(Programmer's Interface)
(Development status)
 
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
== JAXB 2.0 ==
 
== JAXB 2.0 ==
  
Currently EclipseLink supports Java Architecture for XML Binding (JAXB) targeting the 2.0 specification
+
Currently EclipseLink supports Java Architecture for XML Binding (JAXB) targeting the 2.0 specification. While the JAXB implementation within EclipseLink will not be fully compliant with the JAXB 2.1 specification in the 1.0 release it offers many of the core features, advanced features beyond the specification, and can address compliance through its inclusion of the reference implementation when needed.
  
 
=== Mapping Metadata  ===
 
=== Mapping Metadata  ===
Line 10: Line 10:
 
=== Programmer's Interface ===
 
=== Programmer's Interface ===
 
* '''JAXBContextFactory''' - Use this class to specify that EclipseLink should be used as your JAXB runtime, see [[EclipseLink/Examples/MOXy/JaxbProperties | Specifying the EclipseLink JAXB Runtime]].
 
* '''JAXBContextFactory''' - Use this class to specify that EclipseLink should be used as your JAXB runtime, see [[EclipseLink/Examples/MOXy/JaxbProperties | Specifying the EclipseLink JAXB Runtime]].
* '''JAXBContext''' - Is a holder for all the mapping metadata, see * [[EclipseLink/Examples/MOXy/NativeOxmJaxbContext | Creating a Native OXM aware JAXBContext]]
+
* '''JAXBContext''' - Is a holder for all the mapping metadata, see [[EclipseLink/Examples/MOXy/NativeOxmJaxbContext | Creating a Native OXM aware JAXBContext]]
 
* '''Marshaller & Unmarshaller''' - Use these classes to convert your objects to and from XML,  see [[EclipseLink/Examples/MOXy/JaxbRuntime | Using Objects to Manipulate XML]].
 
* '''Marshaller & Unmarshaller''' - Use these classes to convert your objects to and from XML,  see [[EclipseLink/Examples/MOXy/JaxbRuntime | Using Objects to Manipulate XML]].
* Binder - Keep your object model and XML document in synch as you modify each of them.
+
* '''Binder''' - Keep your object model and XML document in synch as you modify each of them.
  
 
=== Extended Functionality ===
 
=== Extended Functionality ===
Line 25: Line 25:
 
* Pluggable parser support
 
* Pluggable parser support
 
* Visual Mapping Workbench utility
 
* Visual Mapping Workbench utility
 
 
=== Features Not Yet Supported ===
 
* Some annotations: ...
 
* StAX Parser support
 

Latest revision as of 11:10, 4 September 2008

JAXB 2.0

Currently EclipseLink supports Java Architecture for XML Binding (JAXB) targeting the 2.0 specification. While the JAXB implementation within EclipseLink will not be fully compliant with the JAXB 2.1 specification in the 1.0 release it offers many of the core features, advanced features beyond the specification, and can address compliance through its inclusion of the reference implementation when needed.

Mapping Metadata

  • Majority of annotations
  • Generation of mapped domain model from XSD (Using JAXB RI's XJC)

Programmer's Interface

Extended Functionality

  • Externalize object-XML mapping using EclipseLink's Native XML configuration file
    • Path
    • Position
    • Inheritance
    • Transformations
    • Map support
    • Converter support for customer/extended types
  • Note: Support for all features of ClassDescriptor (TODO: Add link)
  • Pluggable parser support
  • Visual Mapping Workbench utility

Back to the top