This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
WDSL2Java using Axis2 via Ant in Eclipse
Error creatin Top down web service with Eclipse Helios
bind data type XMLGregorianCalendar to Calendar
JaxB Compile Error: Failed to read imported schema document
problem with WSDL2Java and nested complex types