Class ImageContentGenerator

  • All Implemented Interfaces:
    IIIFResource

    public class ImageContentGenerator
    extends Object
    implements IIIFResource
    This service generator wraps the image content model. Presentation API version 2.1.1: The ImageContent entity is contained in the "resource" field of annotations with motivation "sc:painting". Image resources, and only image resources, are included in the image's property of the canvas. This changes in API version 3.0.
    Author:
    Michael Spalti mspalti@willamette.edu, Andrea Bollini (andrea.bollini at 4science.it)
    • Constructor Detail

      • ImageContentGenerator

        public ImageContentGenerator​(@NotNull
                                     @NotNull String identifier)
    • Method Detail

      • generateResource

        public de.digitalcollections.iiif.model.sharedcanvas.Resource<de.digitalcollections.iiif.model.ImageContent> generateResource()
        Description copied from interface: IIIFResource
        Creates and returns a resource model.
        Specified by:
        generateResource in interface IIIFResource
        Returns:
        resource model