Re: Enums with WOXMLDecoder
Re: Enums with WOXMLDecoder
- Subject: Re: Enums with WOXMLDecoder
- From: Pascal Robert <email@hidden>
- Date: Thu, 21 Apr 2011 16:31:21 -0400
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden