public class Choice extends Resource
A choice between two or more IIIF resources.
See http://iiif.io/api/presentation/2.1/#choice-of-alternative-resources
| Constructor and Description |
|---|
Choice(Resource defaultResource,
List<Resource> alternatives) |
Choice(Resource defaultResource,
Resource firstAlternative,
Resource... otherAlternatives) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlternative(Resource first,
Resource... rest) |
List<Resource> |
getAlternatives() |
Resource |
getDefault() |
String |
getType() |
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
Copyright © 2018. All rights reserved.