public class ClientODataDeserializerImpl extends Object implements ClientODataDeserializer
| Constructor and Description |
|---|
ClientODataDeserializerImpl(boolean serverMode,
ContentType contentType) |
| Modifier and Type | Method and Description |
|---|---|
List<CsdlSchema> |
fetchTermDefinitionSchema(List<InputStream> input)
Gets all the terms defined in the given input stream
|
protected com.fasterxml.jackson.dataformat.xml.XmlMapper |
getXmlMapper() |
ResWrap<Delta> |
toDelta(InputStream input)
Gets a delta object from the given InputStream.
|
ResWrap<Entity> |
toEntity(InputStream input)
Gets an entity object from the given InputStream.
|
ResWrap<EntityCollection> |
toEntitySet(InputStream input)
Gets an entity set object from the given InputStream.
|
ODataError |
toError(InputStream input)
Gets the ODataError object represented by the given InputStream.
|
XMLMetadata |
toMetadata(InputStream input) |
ResWrap<Property> |
toProperty(InputStream input)
Gets a property object from the given InputStream.
|
ResWrap<ServiceDocument> |
toServiceDocument(InputStream input)
Gets the ServiceDocument object represented by the given InputStream.
|
public ClientODataDeserializerImpl(boolean serverMode,
ContentType contentType)
public ResWrap<EntityCollection> toEntitySet(InputStream input) throws ODataDeserializerException
ODataDeserializertoEntitySet in interface ODataDeserializerinput - stream to be de-serialized.EntityCollection instance.ODataDeserializerExceptionpublic ResWrap<Entity> toEntity(InputStream input) throws ODataDeserializerException
ODataDeserializertoEntity in interface ODataDeserializerinput - stream to be de-serialized.Entity instance.ODataDeserializerExceptionpublic ResWrap<Property> toProperty(InputStream input) throws ODataDeserializerException
ODataDeserializertoProperty in interface ODataDeserializerinput - stream to be de-serialized.ODataDeserializerExceptionpublic ODataError toError(InputStream input) throws ODataDeserializerException
ODataDeserializertoError in interface ODataDeserializerinput - stream to be parsed and de-serialized.ODataDeserializerExceptionprotected com.fasterxml.jackson.dataformat.xml.XmlMapper getXmlMapper()
public XMLMetadata toMetadata(InputStream input)
toMetadata in interface ClientODataDeserializerpublic ResWrap<ServiceDocument> toServiceDocument(InputStream input) throws ODataDeserializerException
ClientODataDeserializertoServiceDocument in interface ClientODataDeserializerinput - stream to be de-serialized.ODataDeserializerExceptionpublic ResWrap<Delta> toDelta(InputStream input) throws ODataDeserializerException
ClientODataDeserializertoDelta in interface ClientODataDeserializerinput - stream to be de-serialized.Delta instance.ODataDeserializerExceptionpublic List<CsdlSchema> fetchTermDefinitionSchema(List<InputStream> input)
ClientODataDeserializerfetchTermDefinitionSchema in interface ClientODataDeserializerCopyright © 2023. All rights reserved.