Interface EdmDeltaSerializer
public interface EdmDeltaSerializer
-
Method Summary
Modifier and TypeMethodDescriptionentityCollection
(ServiceMetadata metadata, EdmEntityType referencedEntityType, Delta delta, EntityCollectionSerializerOptions options) Writes collection of delta-response into an InputStream.
-
Method Details
-
entityCollection
SerializerResult entityCollection(ServiceMetadata metadata, EdmEntityType referencedEntityType, Delta delta, EntityCollectionSerializerOptions options) throws SerializerException Writes collection of delta-response into an InputStream. Information from the EDM is used in addition to information from the data and preferred, but the serializer works without any EDM information as well. Linked data is always written as expanded items (so closed reference loops have to be avoided).- Parameters:
metadata
- metadata for the servicereferencedEntityType
- theEdmEntityType
ornull
if not availabledelta
- the delta data as entity collectionoptions
- options for the serializer- Throws:
SerializerException
-