Class ImageServiceGenerator
- java.lang.Object
-
- org.dspace.app.iiif.model.generator.ImageServiceGenerator
-
- All Implemented Interfaces:
IIIFService
public class ImageServiceGenerator extends Object implements IIIFService
This service generator wraps the image service property model. An image service annotation is added to each canvas annotation.- Author:
- Michael Spalti mspalti@willamette.edu, Andrea Bollini (andrea.bollini at 4science.it)
-
-
Constructor Summary
Constructors Constructor Description ImageServiceGenerator(String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.digitalcollections.iiif.model.ServicegenerateService()Creates and returns a service modelImageServiceGeneratorsetProfile(ProfileGenerator profile)Sets the IIIF image profile.
-
-
-
Constructor Detail
-
ImageServiceGenerator
public ImageServiceGenerator(String identifier)
-
-
Method Detail
-
setProfile
public ImageServiceGenerator setProfile(ProfileGenerator profile)
Sets the IIIF image profile.- Parameters:
profile- a profile generator
-
generateService
public de.digitalcollections.iiif.model.Service generateService()
Description copied from interface:IIIFServiceCreates and returns a service model- Specified by:
generateServicein interfaceIIIFService- Returns:
- a service model
-
-