public class ImageContent extends Resource
An image resource.
This entity is what is contained in the “resource” field of annotations with motivation “sc:painting”: http://iiif.io/api/presentation/2.1/#image-resources
| Constructor and Description |
|---|
ImageContent(ImageService service) |
ImageContent(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
de.digitalcollections.core.model.api.MimeType |
getFormat() |
Integer |
getHeight() |
URI |
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 profile) |
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 static final String TYPE
public String _type
public ImageContent(String identifier)
public ImageContent(ImageService service)
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 URI getProfile()
public void setProfile(URI profile)
Copyright © 2018. All rights reserved.