Class Sequence
- java.lang.Object
-
- de.digitalcollections.iiif.model.sharedcanvas.Resource<Sequence>
-
- de.digitalcollections.iiif.model.sharedcanvas.Sequence
-
public class Sequence extends Resource<Sequence>
The order of the views of the object.Multiple sequences are allowed to cover situations when there are multiple equally valid orders through the content, such as when a manuscript’s pages are rebound or archival collections are reordered.
See http://iiif.io/api/presentation/2.1/#sequence
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SequenceaddCanvas(Canvas first, Canvas... rest)List<Canvas>getCanvases()URIgetStartCanvas()Set<ViewingHint.Type>getSupportedViewingHintTypes()StringgetType()ViewingDirectiongetViewingDirection()voidsetCanvases(List<Canvas> canvases)voidsetStartCanvas(URI startCanvas)voidsetViewingDirection(ViewingDirection viewingDirection)-
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, 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
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getViewingDirection
public ViewingDirection getViewingDirection()
-
setViewingDirection
public void setViewingDirection(ViewingDirection viewingDirection)
-
getSupportedViewingHintTypes
public Set<ViewingHint.Type> getSupportedViewingHintTypes()
- Overrides:
getSupportedViewingHintTypesin classResource<Sequence>
-
getStartCanvas
public URI getStartCanvas()
-
setStartCanvas
public void setStartCanvas(URI startCanvas)
-
-