aspose 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
 
subject: xjc:superClass limitation in JAXB