I just regenerated my jaxb objects, based on a schema change, and got some unexpected results. Three nodes off the root node were subordinated under another first-level node, named MarshCertificateInfo. The class for MarshCertificateInfo used to have several get and set operations for its subordinate nodes. After the schema change and regeneration, that class only has one operation, getContent, which returns a list of heterogeneous objects. Now, rather than invoking specific get (for List objects) or set operations, I have to iterate through the List returned by getContent() and test each element with instanceof.
Does anyone know why this has happened? I have included the schema files (the ones with the 01 suffix are the originals before the change) for reference.
Regards,
Ed
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup