Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes XML and Related Technologies and the fly likes Exploding Generated java files with XJC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Exploding Generated java files with XJC" Watch "Exploding Generated java files with XJC" New topic
Author

Exploding Generated java files with XJC

Philippe Desrosiers
Ranch Hand

Joined: Mar 29, 2006
Posts: 138
Using the JAXB xjc Ant task, I can generate Java classes from a set of schemas. But complex types are defined as public static classes, within the "parent" class that uses them (if that makes any sense).

Is there some way to tell the XJC task to "explode" these types out to a separate, public class file? I've checked the docs, but can't find any option for this.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Exploding Generated java files with XJC