users@jaxb.java.net

ObjectFactory API

From: Anthony Maguire <ajmsonic_at_yahoo.co.uk>
Date: Tue, 25 Mar 2003 04:57:57 -0700

This message was originally submitted by ajmsonic_at_YAHOO.CO.UK to the
JAXB-INTEREST list at JAVA.SUN.COM. If you simply forward it back to the list,
using a mail command that generates "Resent-" fields (ask your local user
support or consult the documentation of your mail program if in doubt), it will
be distributed and the explanations you are now reading will be removed
automatically. If on the other hand you edit the contributions you receive into
a digest, you will have to remove this paragraph manually. Finally, you should
be able to contact the author of this message by using the normal "reply"
function of your mail program.

----------------- Message requiring your approval (6 lines) -------------------
Hi,

Have been using the JAXB beta version for the last while and have started this week to develop with version 1.0. One of the implementation differences i have noticed is that to create the java types from the xsd, with the ObjectFactory class is no longer a static method, but you have to instantiate an object of type ObjectFactory and call the relevant create method on the resulting object. Just wondering for the reason for this change?

Thanks,
anthony