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/DesignDocs/317962/Phase2.1"

(Example: xml-class-extractor)
(Xml Metadata Tags)
Line 27: Line 27:
 
| XmlProperty
 
| XmlProperty
 
| align="center" |  
 
| align="center" |  
| align="center" |  
+
| align="center" | X
| align="center" |  
+
| align="center" | X
| align="center" |  
+
| align="center" | X
 
|-
 
|-
 
| xml-properties
 
| xml-properties

Revision as of 15:08, 9 July 2010

Phase 2.1 - Additional MOXy external metadata support

This phase of development involves providing additional MOXy external metadata support that allows similar configuration abilities as with deployment XML

Xml Metadata Tags

The following Xml metadata tags will be targeted in this phase:

XML Metadata Tag MOXy Annotation Package Type Field Method
xml-class-extractor XmlClassExtractor   X    
xml-property XmlProperty   X X X
xml-properties XmlProperties        
xml-transformation XmlTransformation        
xml-read-transformer XmlReadTransformer        
xml-write-transformer XmlWriteTransformer        
xml-write-transformers XmlWriteTransformers        

Example: xml-class-extractor

The following example will demonstrate how the xml-class-extractor can be applied:

Setting xml-class-extractor via EclipseLink XML metadata can be accomplished as follows:

<java-type name="org.example.Employee">
    <xml-class-extractor class="org.example.MyClassExtractor" />
</java-type>

Back to the top