Interface EdmAssistedSerializer
public interface EdmAssistedSerializer
EDM-assisted serializer
-
Method Summary
Modifier and TypeMethodDescriptionentityCollection(ServiceMetadata metadata, EdmEntityType referencedEntityType, AbstractEntityCollection entityCollection, EdmAssistedSerializerOptions options) Writes entity-collection data into an InputStream.
-
Method Details
-
entityCollection
SerializerResult entityCollection(ServiceMetadata metadata, EdmEntityType referencedEntityType, AbstractEntityCollection entityCollection, EdmAssistedSerializerOptions options) throws SerializerException Writes entity-collection data 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- theEdmEntityTypeornullif not availableentityCollection- the data of the entity collectionoptions- options for the serializer- Throws:
SerializerException
-