This is great!
I have been thinking about doing it myself, but I haven't had the time
yet. It should be possible and it would sure be a welcome feature.

The code that generates the files is in
org.apache.xmlbeans.impl.schema.SchemaTypeCodePrinter. You probably
already know about the "-src" flag to scomp that allows you to see the
generated source.

Radu
PS I am moving the discussion to the dev mailing list, which is more
appropriate.

On Tue, 2007-08-21 at 14:57 +0200, Schalk Neethling wrote:
> Hey everyone,
> 
>  
> 
> I have found the feature request to add an empty constructor to the
> generated Impl XMLBean files on the ASF Jira. Now I see this was
> assigned to Radu Preotiuc-Pietro but, it seems that there has not been
> anything done with regards to this feature since 08/Jul/05. I am not
> sure if the original requester asked for you to replace the current
> constructor that takes the schema type with an empty constructor but,
> surely it should not be a problem to generate both a default empty
> constructor as well as a constructor that takes the schema type as a
> parameter.
> 
>  
> 
> I am more then willing to implement this if someone can point me in
> the right direction with regards to the location in the current code
> base where the current Constructor is generated. Thank you in advance.
> 
>  
> 
> --
> 
> Kind Regards,
> 
> Schalk Neethling
> 
>  
> 
> 
> This email and all content are subject to the following disclaimer:
> 
>  
> 
> http://content.momentum.co.za/content/legal/disclaimer_email.htm
> 
>  
> 
>  
> 

Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to