On Oct 22, 2010, at 10:40 PM, michaelmgsy wrote:

> 
> I look up the source code. 
> For Map<String, Map<Long, String>> type resource.
> In line 363 of PropertyEditors.class, why the parameters type of map only
> must be Class?

My guess is that the Class check is there simply because the code isn't setup 
to handle nested generic types -- probably requires a little recursion in 
building the converters.  It would be a welcome addition if you wanted to take 
a stab at it.

> The getTypeParameters method can found parameters type array. the array can
> be used for  Map<String, Map<Long, String>> type resource.
> 
> This is source can be modified.

Right, you can change anything you like.  If you get something working, attach 
it here and we can try and get it in on the xbean side:

  https://issues.apache.org/jira/browse/XBEAN

-David



Reply via email to