Parses SAPData structure that represent either a single OData Entry or an OData Feed with several OData entries.
Syntax
public
List< IODataEntry >
parseODataEntries
(
String
entries
,
String
collectionId
,
IODataSchema
schema
) throws ParserException,IllegalArgumentException
Parameters
-
entries –
The source of either a single OData Entry or OData Feed of several OData entries
-
collectionId –
The id of the collection that the result entries should belong to
-
schema –
The relevant OData schema document
Returns
The list of the OData Entries contained by the source
Exceptions
-
ParserException class –
If the document source is invalid
-
IllegalArgumentException –
If the argument is null