Class SpecificResource
- java.lang.Object
-
- de.digitalcollections.iiif.model.sharedcanvas.Resource<SpecificResource>
-
- de.digitalcollections.iiif.model.openannotation.SpecificResource
-
- All Implemented Interfaces:
Choice<SpecificResource>
public class SpecificResource extends Resource<SpecificResource>
A resource that applies complex styles and/or selectors to a given resource.See: - http://iiif.io/api/presentation/2.1/#non-rectangular-segments - http://iiif.io/api/presentation/2.1/#style - http://iiif.io/api/presentation/2.1/#rotation
-
-
Constructor Summary
Constructors Constructor Description SpecificResource()SpecificResource(String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource<?>getFull()SelectorgetSelector()StringgetStyle()StringgetType()voidsetFull(Resource full)voidsetSelector(Selector selector)voidsetStyle(String style)-
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, getSupportedViewingHintTypes, 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
-
-
Constructor Detail
-
SpecificResource
public SpecificResource()
-
SpecificResource
public SpecificResource(String identifier)
-
-
Method Detail
-
getType
public String getType()
- Overrides:
getTypein classResource<SpecificResource>
-
getFull
public Resource<?> getFull()
-
setFull
public void setFull(Resource full)
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getSelector
public Selector getSelector()
-
setSelector
public void setSelector(Selector selector)
-
-