Le 2011-04-21 à 13:59, Pascal Robert a écrit :

> Anyone had any luck with using WOXMLDecoder with enums? I can get them to 
> encode properly, but I can't decode them since it's looking for a public 
> constructor, and enums can't have public constructors. 
> 
> Any tricks beside trying to override WOXMLDecoder.decodeObjectForKey() to 
> call another method instead of a constructor, or to stop using enums for 
> cases where I want to use WOXMLCoder/Decoder?

Not easy to subclass WOXMLDecoder... ERRest might be a better solution, and I 
can encode/decode in other formats than XML. 
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to