ODataDataParser class

Parses a feed or an entry xml.

Syntax

@interface ODataDataParser : ODataGenericParser

Members

All members of ODataDataParser, including inherited members.

Methods

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; { ODataDataParser* dataParser = [[[ODataDataParser alloc] initWithEntitySchema: entitySchema andServiceDocument: serviceDocument] autorelease]; [dataParser parse: content_in]; entries = [dataParser.entries retain]; (ODataParserException* e) { //error handling... }