wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
It is sorta covered in the JavaRanch Style Guide.
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