• 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
decoding an EO from NSXMLInputStream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

decoding an EO from NSXMLInputStream


  • Subject: decoding an EO from NSXMLInputStream
  • From: Jean-François Veillette <email@hidden>
  • Date: Mon, 4 Apr 2005 11:02:54 -0400

I use
ByteArrayInputStream istream = new ByteArrayInputStream(e.getBytes("UTF-8"));
NSXMLInputStream p = new NSXMLInputStream(istream);
NSDictionary ui = (NSDictionary)p.readObject();
p.close();
To get back a dictionary in which I have, among other values, an EOQualifiers qualifying based an EnterpriseObject.
I can get back my eo and reapply the qualifier to a new fetch spec, but I wonder why and how ???
When NSXMLInputStream is reading an EO, in which eoEditingContext is it putting it into ?

I'm in early development of this system, I did not tested it extensively, but to my surprise it just work so far. I thought I would have to make some more management about deserializing an eo, give an eoeditingcontext to deserialize into, or anything like that.

I'm afraid I'll hit a wall sooner or later, any experience with deserializing an eo from a xml stream ?
Anything I should know before it's too late ?

thanks !

- jfv
 _______________________________________________
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

  • Follow-Ups:
    • Re: decoding an EO from NSXMLInputStream
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Re(2): Javascript Error onBlur
  • Next by Date: Re: PDF to scaled JPEG (thumbnail)
  • Previous by thread: Re: Re(2): Javascript Error onBlur
  • Next by thread: Re: decoding an EO from NSXMLInputStream
  • Index(es):
    • Date
    • Thread