Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321241

Summary: JAXB Externalized Metadata: Need support for class extractor
Product: z_Archived Reporter: David McCann <david.mccann>
Component: EclipselinkAssignee: David McCann <david.mccann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 317962    
Attachments:
Description Flags
Contains proposed fix + supporting test cases none

Description David McCann CLA 2010-07-29 11:41:09 EDT
Created attachment 175510 [details]
Contains proposed fix + supporting test cases

We need to support setting a class extractor class name on the inheritance policy.  We should add a global element/complex type like so:

<xs:element name="xml-class-extractor" type="xml-class-extractor" />

<xs:complexType name="xml-class-extractor">
    <xs:attribute name="class" type="xs:string" use="required"/>
</xs:complexType>

And add an element ref to java-type.
Comment 1 David McCann CLA 2010-07-29 11:43:13 EDT
Design and expected usage can be found on the following Wiki:

http://wiki.eclipse.org/EclipseLink/DesignDocs/317962/Phase2.1#xml-class-extractor
Comment 2 David McCann CLA 2010-07-29 13:45:41 EDT
Reviewed by: matt.macivor@oracle.com
Tests:  all unit tests pass as expected; jaxb/externalizedmetadata/xmlclassextractor/XmlClassExtractorTestCases
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:13:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink