public class OtherContent extends Resource
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 and Description |
|---|
OtherContent(String identifier) |
OtherContent(String identifier,
String format) |
OtherContent(String identifier,
String format,
String profile) |
| Modifier and Type | Method and Description |
|---|---|
de.digitalcollections.core.model.api.MimeType |
getFormat() |
Integer |
getHeight() |
Profile |
getProfile() |
String |
getType() |
Integer |
getWidth() |
void |
setFormat(de.digitalcollections.core.model.api.MimeType format) |
void |
setFormat(String format) |
void |
setHeight(Integer height) |
void |
setProfile(URI uri) |
void |
setType(String type) |
void |
setWidth(Integer width) |
addAttribution, addDescription, addLabel, addLicense, addLogo, addLogo, addMetadata, addMetadata, addRelated, addRendering, addSeeAlso, addService, addThumbnail, addViewingHint, addWithin, getAttribution, getAttributionString, getDescription, getDescriptionString, getFirstLicense, getIdentifier, getLabel, getLabelString, getLicenses, getLogos, getLogoUri, getMetadata, getRelated, getRenderings, getSeeAlso, getServices, getSupportedViewingHintTypes, getThumbnail, getThumbnails, getViewingHints, getWithin, setAttribution, setDescription, setIdentifier, setLabel, setLicenses, setLogos, setRelated, setRenderings, setSeeAlso, setServices, setThumbnails, setViewingHints, setWithin, toString, verifyRenderingpublic OtherContent(String identifier)
public void setType(String type)
public de.digitalcollections.core.model.api.MimeType getFormat()
public void setFormat(de.digitalcollections.core.model.api.MimeType format)
public void setFormat(String format)
public Integer getWidth()
public void setWidth(Integer width)
public Integer getHeight()
public void setHeight(Integer height)
public Profile getProfile()
public void setProfile(URI uri)
Copyright © 2018. All rights reserved.