Package de.digitalcollections.iiif.model
Class OtherContent
- java.lang.Object
-
- de.digitalcollections.iiif.model.sharedcanvas.Resource<OtherContent>
-
- de.digitalcollections.iiif.model.OtherContent
-
- All Implemented Interfaces:
Choice<OtherContent>
public class OtherContent extends Resource<OtherContent>
Type for Content resources such as images or texts that are associated with a canvas.Used in the "related", "renderings" and "otherContent" fields of IIIF resources.
-
-
Constructor Summary
Constructors Constructor Description OtherContent(String identifier)OtherContent(String identifier, String format)OtherContent(String identifier, String format, String profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MimeTypegetFormat()IntegergetHeight()ProfilegetProfile()StringgetType()IntegergetWidth()voidsetFormat(MimeType format)voidsetFormat(String format)voidsetHeight(Integer height)voidsetProfile(URI uri)voidsetType(String type)voidsetWidth(Integer width)-
Methods inherited from class de.digitalcollections.iiif.model.sharedcanvas.Resource
addAttribution, addDescription, addLabel, addLicense, addLogo, addLogo, addMetadata, addMetadata, addRelated, addRendering, addSeeAlso, addService, addThumbnail, addViewingHint, addWithin, getAlternatives, getAttribution, getAttributionString, getDescription, getDescriptionString, getFirstLicense, getIdentifier, getLabel, getLabelString, getLicenses, getLogos, getLogoUri, getMetadata, getRelated, getRenderings, getSeeAlso, getServices, getSupportedViewingHintTypes, getThumbnail, getThumbnails, getViewingHints, getWithin, isDefaultChoice, setAlternatives, setAttribution, setDescription, setIdentifier, setIsDefaultChoice, setLabel, setLicenses, setLogos, setRelated, setRenderings, setSeeAlso, setServices, setThumbnails, setViewingHints, setWithin, toString, verifyRendering
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.digitalcollections.iiif.model.openannotation.Choice
addAlternative
-
-
-
-
Method Detail
-
getType
public String getType()
- Overrides:
getTypein classResource<OtherContent>
-
setType
public void setType(String type)
-
getFormat
public MimeType getFormat()
-
setFormat
public void setFormat(MimeType format)
-
setFormat
public void setFormat(String format)
-
getWidth
public Integer getWidth()
-
setWidth
public void setWidth(Integer width)
-
getHeight
public Integer getHeight()
-
setHeight
public void setHeight(Integer height)
-
getProfile
public Profile getProfile()
-
setProfile
public void setProfile(URI uri)
-
-