File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes xjc:superClass limitation in JAXB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xjc:superClass limitation in JAXB" Watch "xjc:superClass limitation in JAXB" New topic
Author

xjc:superClass limitation in JAXB

Anoop Krishnan
Ranch Hand

Joined: May 03, 2001
Posts: 163
I want to extend the Root Element in the JAXBgenerated code from ReutersPictureNewsAsComplexData.class .

I added the following global binding in the schema file



This creates the generated code


But it also add the super class extension on ReutersPictureNewsAsComplexData to all generated classes .

Is there a way to limit this only to the rot element level class.


I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xjc:superClass limitation in JAXB