Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
Adid the ability to unmarshall to an already instantiated object.
This is particularly useful for the Struts2 RESTful plug in.
You can already unmarshal to an existing object by casting it to IUnmarshallable (which interface will be added to the class by the binding compiler if it has a concrete global mapping), then calling the unmarshal() method of that interface. Is there a reason you can't use this approach, and need to have it as part of the context API?