org.apache.olingo.server.api.serializer

## Interface EdmAssistedSerializer

-     public interface EdmAssistedSerializer

  EDM-assisted serializer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `SerializerResult` | `entityCollection(ServiceMetadata metadata, EdmEntityType referencedEntityType, AbstractEntityCollection entityCollection, EdmAssistedSerializerOptions options)` Writes entity-collection data into an InputStream.

- - ### Method Detail

    - #### 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 service
        `referencedEntityType` - the `EdmEntityType` or `null` if not available
        `entityCollection` - the data of the entity collection
        `options` - options for the serializer
      Throws:
        `SerializerException`

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.