public class AnnotationList extends Resource implements Pageable<AnnotationList>
An ordered list of annotation lists.
Layers allow higher level groupings of annotations to be recorded. For example, all of the English translation annotations of a medieval French document could be kept separate from the transcription or an edition in modern French.
May be paged, see http://iiif.io/api/presentation/2.1/#paging
| Constructor and Description |
|---|
AnnotationList(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
addResource(Annotation first,
Annotation... rest) |
AnnotationList |
getNext() |
AnnotationList |
getPrevious() |
List<Annotation> |
getResources() |
Integer |
getStartIndex() |
String |
getType() |
void |
setNext(AnnotationList next) |
void |
setPrevious(AnnotationList previous) |
void |
setResources(List<Annotation> resources) |
void |
setStartIndex(int startIndex) |
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 AnnotationList(String identifier)
public List<Annotation> getResources()
public void setResources(List<Annotation> resources)
public AnnotationList addResource(Annotation first, Annotation... rest)
public AnnotationList getNext()
getNext in interface Pageable<AnnotationList>public void setNext(AnnotationList next)
setNext in interface Pageable<AnnotationList>public AnnotationList getPrevious()
getPrevious in interface Pageable<AnnotationList>public void setPrevious(AnnotationList previous)
setPrevious in interface Pageable<AnnotationList>public Integer getStartIndex()
getStartIndex in interface Pageable<AnnotationList>public void setStartIndex(int startIndex)
setStartIndex in interface Pageable<AnnotationList>Copyright © 2018. All rights reserved.