commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [digester] rule that constructs a non-bean from parameters
Date Wed, 10 Mar 2004 23:02:00 GMT
(for those who are paying close attention) this is a poorly chosen 
example. (i should probably turn my computer off now and go straight to 
bed 8-)

it's really a way to provide better support for immutable objects 
(which Dimension is not. Doh!)

- robert

On 10 Mar 2004, at 22:52, robert burrell donkin wrote:

> i'm thinking of adding a rule that constructs a non-bean (in other 
> words, a type without an empty constructor) from the parameters 
> currently on the stack. i think that this would enable easier digester 
> of type such java.awt.Dimension which may commonly be mapped to xml 
> thus:
>
> 	<dimension>
> 		<x>1.0</x>	
> 		<y>1.2</y>
> 	</dimension>
>
> comments welcomed :)
>
> - robert
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message