Class ExternalLinksGenerator
java.lang.Object
org.dspace.app.iiif.model.generator.ExternalLinksGenerator
- All Implemented Interfaces:
IIIFResource
This generator wraps the other content domain model.
This is the type for related content resources. Used in the "related", "renderings" and
"seeAlso" fields of IIIF resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.digitalcollections.iiif.model.sharedcanvas.Resource<de.digitalcollections.iiif.model.OtherContent>Creates and returns a resource model.Sets the optional format value.Sets the optional label.Sets the optional type.
-
Constructor Details
-
ExternalLinksGenerator
-
-
Method Details
-
setFormat
Sets the optional format value.- Parameters:
format- the mimetype
-
setLabel
Sets the optional label.- Parameters:
label- annotation label
-
setType
Sets the optional type.- Parameters:
type- the annotation type
-
generateResource
public de.digitalcollections.iiif.model.sharedcanvas.Resource<de.digitalcollections.iiif.model.OtherContent> generateResource()Description copied from interface:IIIFResourceCreates and returns a resource model.- Specified by:
generateResourcein interfaceIIIFResource- Returns:
- resource model
-