Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321241 - JAXB Externalized Metadata: Need support for class extractor
Summary: JAXB Externalized Metadata: Need support for class extractor
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David McCann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 317962
  Show dependency tree
 
Reported: 2010-07-29 11:41 EDT by David McCann CLA
Modified: 2022-06-09 10:13 EDT (History)
0 users

See Also:


Attachments
Contains proposed fix + supporting test cases (51.31 KB, patch)
2010-07-29 11:41 EDT, David McCann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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