Apparao Mulpuri wrote:
Sorry, mentioned incorrect url for KBML. Working url for KBML is:
http://koala.ilog.fr/kbml/.
I was just about to point that out to you. I found the above also by
googling kbml.
Any pointers on this would greatly help.
My question is, what are you trying to do with kbml? If your intention
is to serialize Cocoa objects, you should read this first:
http://developer.apple.com/documentation/Cocoa/Conceptual/Archiving/Tasks/serializing.html
The Cocoa way to serialize objects often involves implementing a
category that returns the object's fields as a plist (NSDictionary). You
can then serialize this to xml using code very similar to the first
example on the page linked above.
Retrieving the objects is a simple matter of reading the serialized xml
into a plist, and then calling your category method to instantiate your
object from a plist/NSDictionary. Naturally, you will have to implement
the code to convert your object to and from a NSDictionary
representation, but it is generally not difficult.
If your intention is to serialize Cocoa objects so that they would be
compatible with Java objects serialized with kbml, then I'm afraid
you're on your own. You'd need a Cocoa class hierarchy that is identical
to the Java objects you are attempting to emulate, and that is more
trouble than I think it would be worth.
Hope that helps,
Jason
Thanks,
- Apparao.
On Wed, Aug 6, 2008 at 11:16 AM, Apparao Mulpuri
<[EMAIL PROTECTED]> wrote:
Hi Guys,
In my Cocoa application, i am planning to use KBML
(http://www.inria.fr/koala/kbml/). KBML is pure java application, so i
need to port it into Cocoa.
I am looking for open source KBML generators/parsers to cut my
development time. Is anybody aware of such applications?
Thanks In Advance,
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/jason%40sigio.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]