Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to produce Java class from xsd programmatically?

ebcDec 19 2011 — edited Jan 5 2012
As titled, I want to generage Java class/interface from xml schema via a program. There is a tool "xjc" that can do this manually.
I saw a sample that generates xsd file from Java class programmatically, I am figuring out if there is such a API to do the similar thing vice versa.

Thank you in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2012
Added on Dec 19 2011
10 comments
4,940 views