public interface ODataReader extends CommonODataReader
Modifier and Type | Method and Description |
---|---|
ODataEntity |
readEntity(InputStream input,
ODataFormat format)
Parses a stream taking care to de-serializes the first OData entity found.
|
ODataEntitySet |
readEntitySet(InputStream input,
ODataFormat format)
De-Serializes a stream into an OData entity set.
|
ODataLinkCollection |
readLinks(InputStream input,
ODataFormat format)
Parses a $links request response.
|
ODataProperty |
readProperty(InputStream input,
ODataFormat format)
Parses a stream taking care to de-serialize the first OData entity property found.
|
read, readError, readMetadata, readMetadata, readServiceDocument
ODataEntitySet readEntitySet(InputStream input, ODataFormat format) throws ODataDeserializerException
CommonODataReader
readEntitySet
in interface CommonODataReader
input
- stream to de-serialize.format
- de-serialize formatODataDeserializerException
ODataEntity readEntity(InputStream input, ODataFormat format) throws ODataDeserializerException
CommonODataReader
readEntity
in interface CommonODataReader
input
- stream to de-serialize.format
- de-serialize formatODataDeserializerException
ODataProperty readProperty(InputStream input, ODataFormat format) throws ODataDeserializerException
CommonODataReader
readProperty
in interface CommonODataReader
input
- stream to de-serialize.format
- de-serialize as XML or JSONODataDeserializerException
ODataLinkCollection readLinks(InputStream input, ODataFormat format) throws ODataDeserializerException
input
- stream to de-serialize.format
- de-serialize as XML or JSONODataDeserializerException
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.