commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dino Valente <dinovale...@yahoo.com>
Subject Is it possible ...
Date Fri, 11 Jun 2004 00:01:32 GMT
<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?

Dino


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
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