File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Supressing default comments by xjc 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 "Supressing default comments by xjc" Watch "Supressing default comments by xjc" New topic
Author

Supressing default comments by xjc

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
Hi,

I am generating java classes from xsd using xjc for jaxb2.0, the generated java class has entire xsd struct in comments at the begining.
is ther a way to supress this?

example


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

Apparently you can customize it


[My Blog] [JavaRanch Journal]
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
thanks much its helful...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Supressing default comments by xjc
 
Similar Threads
web services client is not validating parameters
XSD Schema Error in WSAD
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
Problems with JAXB-generated javadoc code
Doubt on XML Schema validity