Parses the OData Schema from stream.
Syntax
public IODataSchema parseODataSchema (
InputStream stream,
IODataServiceDocument serviceDocument
) throws ParserException, IllegalArgumentException
Parameters
-
stream –
The stream that holds OData Schema
-
serviceDocument –
The appropriate OData Service Document object
Returns
The OData Schema document
Exceptions
-
ParserException class –
If the stream source is invalid
-
IllegalArgumentException –
If the argument is null