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/Examples/MOXy/MeetInTheMiddle"

(Overview)
m (Overview)
Line 8: Line 8:
 
* '''[[EclipseLink/Examples/MOXy/ElementMappingByAttributeValue|ElementMappingByAttributeValue]]''' - Mapping elements based on the value of an attribute.
 
* '''[[EclipseLink/Examples/MOXy/ElementMappingByAttributeValue|ElementMappingByAttributeValue]]''' - Mapping elements based on the value of an attribute.
 
* '''[[EclipseLink/Examples/MOXy/MetadataRepository|MetadataRepository]]''' -  Retrieve and use XML binding definitions from outside your application.
 
* '''[[EclipseLink/Examples/MOXy/MetadataRepository|MetadataRepository]]''' -  Retrieve and use XML binding definitions from outside your application.
* '''[[EclipseLink/Examples/MOXy/Extensible|Extensible]]''' -  Virtual properties defined by the MOXy metadata to provide a way to extend a class without modifying the  
+
* '''[[EclipseLink/Examples/MOXy/Extensible|Extensible]]''' -  Virtual properties defined by the MOXy metadata to provide a way to extend a class without modifying the source.
source.
+
 
* '''[[EclipseLink/Examples/MOXy/RefreshMetadata|RefreshMetadata]]''' -  Update the metadata (in this example to include information about new extensions) without stopping the application.
 
* '''[[EclipseLink/Examples/MOXy/RefreshMetadata|RefreshMetadata]]''' -  Update the metadata (in this example to include information about new extensions) without stopping the application.

Revision as of 16:03, 15 June 2011

Overview

This set of examples is intended to introduce you to meet-in-the-middle mapping. This is when you are mapping an existing object model to an existing XML schema. This can commonly occur when you have an existing application that you wish to expose as a web service using a XML schema corresponding to some industry standard.

  • Advantages - Compare meet-in-the-middle mapping to other approaches.
  • XPath - XPath based mapping.
  • XMLNameTransformer - Customized XML Name Conversions.
  • ElementMappingByAttributeValue - Mapping elements based on the value of an attribute.
  • MetadataRepository - Retrieve and use XML binding definitions from outside your application.
  • Extensible - Virtual properties defined by the MOXy metadata to provide a way to extend a class without modifying the source.
  • RefreshMetadata - Update the metadata (in this example to include information about new extensions) without stopping the application.

Back to the top