public interface ODataDeserializer
| Modifier and Type | Method and Description | 
|---|---|
| DeserializerResult | actionParameters(InputStream stream,
                EdmAction edmAction)Deserializes an action-parameters stream into a map of key/value pairs. | 
| DeserializerResult | entity(InputStream stream,
      EdmEntityType edmEntityType)Deserializes an entity stream into an  Entityobject. | 
| DeserializerResult | entityCollection(InputStream stream,
                EdmEntityType edmEntityType)Deserializes an entity collection stream into an  EntityCollectionobject. | 
| DeserializerResult | entityReferences(InputStream stream)Reads entity references from the provided document. | 
| DeserializerResult | property(InputStream stream,
        EdmProperty edmProperty)Deserializes the Property or collections of properties (primitive & complex). | 
DeserializerResult entity(InputStream stream, EdmEntityType edmEntityType) throws DeserializerException
Entity object.
 Validates: property types, no double properties, correct json types.
 Returns a deserialized Entity object and an
 ExpandOption object.stream - edmEntityType - DeserializerResult.getEntity() and DeserializerResult.getExpandTree()DeserializerExceptionDeserializerResult entityCollection(InputStream stream, EdmEntityType edmEntityType) throws DeserializerException
EntityCollection object.stream - edmEntityType - DeserializerResult.getEntityCollection()DeserializerExceptionDeserializerResult actionParameters(InputStream stream, EdmAction edmAction) throws DeserializerException
stream - edmAction - DeserializerResult.getActionParameters()DeserializerExceptionDeserializerResult property(InputStream stream, EdmProperty edmProperty) throws DeserializerException
stream - edmProperty - DeserializerResult.getProperty()DeserializerExceptionDeserializerResult entityReferences(InputStream stream) throws DeserializerException
stream - keys - DeserializerResult.getEntityReferences()DeserializerExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.