SDMODataDataParser class

Deprecated. Parses a feed or an entry xml.

Syntax

@interface SDMODataDataParser : SDMGenericParser

Members

All members of SDMODataDataParser, including inherited members.

Methods Inherited members from SDMGenericParser

Usage

The array of parsed entry/entries can be accessed via the "entries" property of the parser after parsing. Any "inlined"entries or feed(s) will be parsed when service document is passed to the "initWithEntitySchema" variant that accepts service document as input. If "inlined" feed(s) or entries should not be returned pass nil as the service document parameter or use the other "initWithEntitySchema" that does not have a service document parameter. NSMutableArray* entries = nil; { SDMODataDataParser* dataParser = [[[SDMODataDataParser alloc] initWithEntitySchema: entitySchema andServiceDocument: serviceDocument] autorelease]; [dataParser parse: content_in]; entries = [dataParser.entries retain]; (SDMParserException* e) { //error handling... }