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 JiBX: Inheritance while the Codegen process 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 "JiBX: Inheritance while the Codegen process" Watch "JiBX: Inheritance while the Codegen process" New topic
Author

JiBX: Inheritance while the Codegen process

Dmitry Kober
Greenhorn

Joined: Aug 26, 2013
Posts: 1
Hello, guys!

It's my first post here =)

The problem is the following. I need to generate java-classes from a set of xsd-schemes. One of the problems I face is I can't figure out how to tell the CodeGen process to make the generated class be an offspring of another class. More detailed:
there is a class: where and B - is supposed to be a generated by JiBX class. According to the xsd, the B element is not a child of any element and the Message class is not the generated one. As you can see, I need to tell JiBX to generate the described class hierarchy at the compilation time. If I'm not mistaken such things could only be done in customizations (bindings change already generated classes), but I can't find how to do it.

This trick is simple enough in castor, for example, but JiBX is a requirement for our team...

Could anybody give some guidance?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JiBX: Inheritance while the Codegen process
 
Similar Threads
JiBX schema-codegen with xml schema import
Customising wsimport classes
Facade design pattern in web services
Help! Wsdl2Java Can't parse a Coldfusion WSDL?
JIBX - ant script for jar.