Hi all,

I was playing around with the constructor arguments in 0.9.5.  I couldn't
use the constructor arguments to instantiate a java.awt.Color object since
it doesn't have a default constructor.  I was thinking that constructor
arguments could be used in this case.  Can we relax the requirement for a
default constructor if an object is instantiated using constuctor arguments?

Thanks!

<class name="java.awt.Color">
  <map-to xml="color"/>
  <field name="red" set-method="%1" get-method="getRed" type="integer">
   <bind-xml node="attribute"/>
  </field>
  <field name="green" set-method="%2" get-method="getGreen" type="integer">
   <bind-xml node="attribute"/>
  </field>
  <field name="blue" set-method="%3" get-method="getBlue" type="integer">
   <bind-xml node="attribute"/>
  </field>
  <field name="alpha" set-method="%4" get-method="getAlpha" type="integer">
   <bind-xml node="attribute"/>
  </field>
 </class>
-

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to