• 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: KVC and static methods (was Hairy Java related question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVC and static methods (was Hairy Java related question)


  • Subject: Re: KVC and static methods (was Hairy Java related question)
  • From: petite_abeille <email@hidden>
  • Date: Mon, 27 Oct 2003 12:38:19 +0100

On Oct 26, 2003, at 21:20, Ben Trumbull wrote:

>> The suggestion of KVC is one that could be the ideal answer, and it
>> would never have occurred to me. Thanks for that suggestion. Now the
>> question is whether it works with static methods.
>
> No.  KVC does not recognize static methods.

By the way, if you are looking for a KVC mechanism which *does* support
static method invocation, and feel adventurous, you may want to take a
look at ZOE's very own implementation: alt.dev.szfoundation.SZKeyValue,
which, by a fortunate coincidence, uses the same syntax as
NSKeyValueCoding.DefaultImplementation... source code available [1].

Alternatively, and if you feel like going totally overboard, you may
want to check OGNL [2].

Cheers,

PA.

[1] http://zoe.nu/misc/Workspace20031022.tgz
[2] http://www.ognl.org/

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: KVC and static methods (was Hairy Java related question) (From: Ray Ackland <email@hidden>)
 >Re: KVC and static methods (was Hairy Java related question) (From: Ben Trumbull <email@hidden>)

  • Prev by Date: Re: KVC and static methods
  • Next by Date: Re: Filtering array returned by an EO's relationship (D2J)
  • Previous by thread: Re: KVC and static methods (was Hairy Java related question)
  • Next by thread: What's New in WO5.2.2.
  • Index(es):
    • Date
    • Thread