public class ImageApiProfile extends Profile
An Image API profile.
Can be either a simple pre-defined profile (e.g. LEVEL_ZERO) or a complex profile describing the available features of a given IIIF image.
See http://iiif.io/api/image/2.1/#profile-description for an overview of all available properties and features and http://iiif.io/api/image/2.1/compliance/ for an overview of the available compliance levels.
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageApiProfile.Feature |
static class |
ImageApiProfile.Format |
static class |
ImageApiProfile.Quality |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT |
static ImageApiProfile |
LEVEL_ONE |
static ImageApiProfile |
LEVEL_TWO |
static ImageApiProfile |
LEVEL_ZERO |
static String |
TYPE |
| Constructor and Description |
|---|
ImageApiProfile() |
ImageApiProfile(String url) |
| Modifier and Type | Method and Description |
|---|---|
ImageApiProfile |
addFeature(ImageApiProfile.Feature first,
ImageApiProfile.Feature... rest) |
ImageApiProfile |
addFormat(ImageApiProfile.Format first,
ImageApiProfile.Format... rest) |
ImageApiProfile |
addQuality(ImageApiProfile.Quality first,
ImageApiProfile.Quality... rest) |
boolean |
equals(Object o) |
Set<ImageApiProfile.Feature> |
getFeatures() |
Set<ImageApiProfile.Format> |
getFormats() |
Set<ImageApiProfile.Quality> |
getQualities() |
int |
hashCode() |
void |
setFeatures(Set<ImageApiProfile.Feature> features) |
void |
setFormats(Set<ImageApiProfile.Format> formats) |
void |
setQualities(Set<ImageApiProfile.Quality> qualities) |
getIdentifierpublic static final ImageApiProfile LEVEL_ZERO
public static final ImageApiProfile LEVEL_ONE
public static final ImageApiProfile LEVEL_TWO
public static final String CONTEXT
public static final String TYPE
public ImageApiProfile()
public ImageApiProfile(String url)
public Set<ImageApiProfile.Format> getFormats()
public void setFormats(Set<ImageApiProfile.Format> formats)
public ImageApiProfile addFormat(ImageApiProfile.Format first, ImageApiProfile.Format... rest)
public Set<ImageApiProfile.Quality> getQualities()
public void setQualities(Set<ImageApiProfile.Quality> qualities)
public ImageApiProfile addQuality(ImageApiProfile.Quality first, ImageApiProfile.Quality... rest)
public Set<ImageApiProfile.Feature> getFeatures()
public void setFeatures(Set<ImageApiProfile.Feature> features)
public ImageApiProfile addFeature(ImageApiProfile.Feature first, ImageApiProfile.Feature... rest)
Copyright © 2017. All rights reserved.