
|
If you were logged in you would be able to see more operations.
|
|
|
XStream
Created: 20/Jul/07 07:56 AM
Updated: 25/Feb/08 05:01 PM
|
|
| Component/s: |
Converters
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.3
|
|
|
Currently the JavaBeanConverter uses reflection. Maybe it's better to use bean introspection. The attached patch changes BeanProvider, so that it uses bean introspection.
Maybe it's better to add a setBeanProvider info to the JavaBeanConverter in order to support other (custom) BeanProviders.
|
|
Description
|
Currently the JavaBeanConverter uses reflection. Maybe it's better to use bean introspection. The attached patch changes BeanProvider, so that it uses bean introspection.
Maybe it's better to add a setBeanProvider info to the JavaBeanConverter in order to support other (custom) BeanProviders. |
Show » |
|
There are some other tweaks, like not saving a property if it is hidden and expert, not saving read-only properties, etc. Also has mapping of class names, so that if you move a bean from one package to another, or just rename it, you can still read the file (I think that this duplicates a feature that is already in XStream).
We've been using this for close to 2 years now. It saves and restores our 200+ javabeans (http://www.ergotech.com) and most of the javabean editor. That is, we treat our screens and similar as a JavaBeans.