Interface OnReadInlineContent
public interface OnReadInlineContent
Callback interface for the deep insert read calls (read of <m:inline> content).
Typically the receiveReadProperties(EntityProviderReadProperties, EdmNavigationProperty) method is called
when an inline navigation property is found and will be read.
The handleReadEntry(ReadEntryResult) and handleReadFeed(ReadFeedResult) methods are called
after the inline navigation property was read and deliver the read (de-serialized) entity or list of entities.
If inlined navigation property is nullable and not set a ReadEntryResult is given with the
navigationPropertyName and a NULL entry set.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleReadEntry(ReadEntryResult readEntryResult) Handles reading (de-serialization) entry result.voidhandleReadFeed(ReadFeedResult readFeedResult) Handles reading (de-serialization) entry result.receiveReadProperties(EntityProviderReadProperties readProperties, EdmNavigationProperty navigationProperty) Receive (request) to be usedEntityProviderReadPropertiesto read the found inline navigation property (><m:inline>...</m:inline>).
-
Method Details
-
handleReadEntry
Handles reading (de-serialization) entry result. The givenReadEntryResultobject contains all contextual information about the de-serialized inline navigation property and the entry asODataEntry.- Parameters:
readEntryResult- with contextual information about and de-serialized inlined navigation property asODataEntry- Throws:
ODataApplicationException
-
handleReadFeed
Handles reading (de-serialization) entry result. The givenReadFeedResultobject contains all contextual information about the de-serialized inline navigation property and the entry as a list ofODataEntry.- Parameters:
readFeedResult- with contextual information about and de-serialized inlined navigation property as a list ofODataEntry- Throws:
ODataApplicationException