*
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: 614
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: 9937
    
159

Apparently you can customize it


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

Joined: Feb 10, 2001
Posts: 614
thanks much its helful...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Supressing default comments by xjc
 
Similar Threads
web services client is not validating parameters
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
Doubt on XML Schema validity
XSD Schema Error in WSAD
Problems with JAXB-generated javadoc code