Class StrictManifestParser
- java.lang.Object
-
- de.digitalcollections.iiif.bookshelf.business.impl.service.AbstractManifestParser
-
- de.digitalcollections.iiif.bookshelf.business.impl.service.StrictManifestParser
-
@Component public class StrictManifestParser extends AbstractManifestParser
-
-
Constructor Summary
Constructors Constructor Description StrictManifestParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillSummary(IiifManifestSummary manifestSummary)java.util.HashMap<java.util.Locale,java.lang.String>getLocalizedStrings(de.digitalcollections.iiif.model.PropertyValue val)ThumbnailgetThumbnail(de.digitalcollections.iiif.model.sharedcanvas.Manifest manifest)Thumbnail: "A small image that depicts or pictorially represents the resource that the property is attached to, such as the title page, a significant image or rendering of a canvas with multiple content resources associated with it.voidsetObjectMapper(de.digitalcollections.iiif.model.jackson.IiifObjectMapper mapper)-
Methods inherited from class de.digitalcollections.iiif.bookshelf.business.impl.service.AbstractManifestParser
createThumbnail, getContentInputStream, getContentInputStream
-
-
-
-
Method Detail
-
fillSummary
public void fillSummary(IiifManifestSummary manifestSummary) throws java.io.IOException, java.net.URISyntaxException
- Specified by:
fillSummaryin classAbstractManifestParser- Throws:
java.io.IOExceptionjava.net.URISyntaxException
-
getLocalizedStrings
public java.util.HashMap<java.util.Locale,java.lang.String> getLocalizedStrings(de.digitalcollections.iiif.model.PropertyValue val)
-
setObjectMapper
public void setObjectMapper(de.digitalcollections.iiif.model.jackson.IiifObjectMapper mapper)
-
getThumbnail
public Thumbnail getThumbnail(de.digitalcollections.iiif.model.sharedcanvas.Manifest manifest)
Thumbnail: "A small image that depicts or pictorially represents the resource that the property is attached to, such as the title page, a significant image or rendering of a canvas with multiple content resources associated with it. It is recommended that a IIIF Image API service be available for this image for manipulations such as resizing. If a resource has multiple thumbnails, then each of them should be different." see http://iiif.io/api/presentation/2.1/#thumbnail- Parameters:
manifest- iiif manifest- Returns:
- thumbnail representing this manifest's object
-
-