public interface ODataDeserializer
Modifier and Type | Method and Description |
---|---|
Entity |
entity(InputStream stream,
EdmEntityType edmEntityType)
Deserializes an entity stream into an
Entity object. |
EntitySet |
entityCollection(InputStream stream,
EdmEntityType edmEntityType)
Deserializes an entity collection stream into an
EntitySet object. |
Entity entity(InputStream stream, EdmEntityType edmEntityType) throws DeserializerException
Entity
object.
Validates: property types, no double properties, correct json typesstream
- edmEntityType
- Entity
objectDeserializerException
EntitySet entityCollection(InputStream stream, EdmEntityType edmEntityType) throws DeserializerException
EntitySet
object.stream
- edmEntityType
- EntitySet
objectDeserializerException
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.