Class ClientODataDeserializerImpl
java.lang.Object
org.apache.olingo.client.core.serialization.ClientODataDeserializerImpl
- All Implemented Interfaces:
ClientODataDeserializer,ODataDeserializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetchTermDefinitionSchema(List<InputStream> input) Gets all the terms defined in the given input streamprotected com.fasterxml.jackson.dataformat.xml.XmlMappertoDelta(InputStream input) Gets a delta object from the given InputStream.toEntity(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.toMetadata(InputStream input) toProperty(InputStream input) Gets a property object from the given InputStream.toServiceDocument(InputStream input) Gets the ServiceDocument object represented by the given InputStream.
-
Constructor Details
-
ClientODataDeserializerImpl
-
-
Method Details
-
toEntitySet
Description copied from interface:ODataDeserializerGets an entity set object from the given InputStream.- Specified by:
toEntitySetin interfaceODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
EntityCollectioninstance.- Throws:
ODataDeserializerException
-
toEntity
Description copied from interface:ODataDeserializerGets an entity object from the given InputStream.- Specified by:
toEntityin interfaceODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
Entityinstance.- Throws:
ODataDeserializerException
-
toProperty
Description copied from interface:ODataDeserializerGets a property object from the given InputStream.- Specified by:
toPropertyin interfaceODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
- Property instance.
- Throws:
ODataDeserializerException
-
toError
Description copied from interface:ODataDeserializerGets the ODataError object represented by the given InputStream.- Specified by:
toErrorin interfaceODataDeserializer- Parameters:
input- stream to be parsed and de-serialized.- Returns:
- parsed ODataError object represented by the given InputStream
- Throws:
ODataDeserializerException
-
getXmlMapper
protected com.fasterxml.jackson.dataformat.xml.XmlMapper getXmlMapper() -
toMetadata
- Specified by:
toMetadatain interfaceClientODataDeserializer
-
toServiceDocument
public ResWrap<ServiceDocument> toServiceDocument(InputStream input) throws ODataDeserializerException Description copied from interface:ClientODataDeserializerGets the ServiceDocument object represented by the given InputStream.- Specified by:
toServiceDocumentin interfaceClientODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
- ServiceDocument object.
- Throws:
ODataDeserializerException
-
toDelta
Description copied from interface:ClientODataDeserializerGets a delta object from the given InputStream.- Specified by:
toDeltain interfaceClientODataDeserializer- Parameters:
input- stream to be de-serialized.- Returns:
Deltainstance.- Throws:
ODataDeserializerException
-
fetchTermDefinitionSchema
Description copied from interface:ClientODataDeserializerGets all the terms defined in the given input stream- Specified by:
fetchTermDefinitionSchemain interfaceClientODataDeserializer- Returns:
-