Interface ODataDeserializer
- All Known Subinterfaces:
ClientODataDeserializer
public interface ODataDeserializer
Interface for de-serialization.
-
Method Summary
Modifier and TypeMethodDescriptiontoEntity
(InputStream input) Gets an entity object from the given InputStream.toEntitySet
(InputStream input) Gets an entity set object from the given InputStream.toError
(InputStream input) Gets the ODataError object represented by the given InputStream.toProperty
(InputStream input) Gets a property object from the given InputStream.
-
Method Details
-
toEntitySet
Gets an entity set object from the given InputStream.- Parameters:
input
- stream to be de-serialized.- Returns:
EntityCollection
instance.- Throws:
ODataDeserializerException
-
toEntity
Gets an entity object from the given InputStream.- Parameters:
input
- stream to be de-serialized.- Returns:
Entity
instance.- Throws:
ODataDeserializerException
-
toProperty
Gets a property object from the given InputStream.- Parameters:
input
- stream to be de-serialized.- Returns:
- Property instance.
- Throws:
ODataDeserializerException
-
toError
Gets the ODataError object represented by the given InputStream.- Parameters:
input
- stream to be parsed and de-serialized.- Returns:
- parsed ODataError object represented by the given InputStream
- Throws:
ODataDeserializerException
-