Two Laptop Bag
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xjc:superClass limitation in JAXB" Watch "xjc:superClass limitation in JAXB" New topic

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:
subject: xjc:superClass limitation in JAXB
It's not a secret anymore!