Switch to "type" centric source generation: http://castor.exolab.org/sourcegen.html#Class-Creation/Mapping
--ekiM -----Original Message----- From: David Blevins [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 4:26 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Skipping complexType generation Hey Castor folks, I'm using the SourceGenerators to create POJOs (i.e. nodesc and nomarshall) for the J2EE schemas and getting heavy amounts of subclassing due to the fact that the schemas define all elements first as top level complexTypes. The resulting objects match the schema perfectly, but are a little annoying as half of them are empty subclasses. Is there any way to skip creation of classes for top level complexTypes and have castor create the element as if the complexType was nested in the element declaration? I've been stepping through the code looking to see if the feature exists or see where it might be added. Any ideas on how to achieve the desired result? -David ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
