Interface EdmAssistedSerializer


public interface EdmAssistedSerializer
EDM-assisted serializer
  • 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 service
      referencedEntityType - the EdmEntityType or null if not available
      entityCollection - the data of the entity collection
      options - options for the serializer
      Throws:
      SerializerException