commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <si...@ecnetwork.co.nz>
Subject Re: Is it possible ...
Date Fri, 11 Jun 2004 00:23:52 GMT
Hi Dino,


On Fri, 2004-06-11 at 12:01, Dino Valente wrote:
> <person SSN="xxxx">
>  <name>Me</>
> </person>
> 
> Is is possible to create a person bean what will store
> both the SSN and name attributes?
> 
> For the life of me I can't find anywhere an example to
> do this in the distribution. I know I can use
> introspector.setAttributesForPrimitives(false);
> 
> Then name is saved as an attribute but ignores SSN.
> 
> If I do introspector.setAttributesForPrimitives(true);
> then Name would need to be defined as a class. In this
> instance, how can I store the text value?
> 

Which commons project is this email intended to refer to? Unforunately I
can't figure that out from your email..

NB: it is our convention to put the commons project at the start of the
email subject line...

Regards,

Simon


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


Mime
View raw message