• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Enums with WOXMLDecoder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Enums with WOXMLDecoder (From: Pascal Robert <email@hidden>)

  • Prev by Date: Enums with WOXMLDecoder
  • Next by Date: I've got the latest Gianduja snapshot for evaluation
  • Previous by thread: Enums with WOXMLDecoder
  • Next by thread: I've got the latest Gianduja snapshot for evaluation
  • Index(es):
    • Date
    • Thread