public class PhysicalDimensionsService extends Service
A service that describes the physical dimensions of the resource it is associated to (http://iiif.io/api/annex/services/#physical-dimensions).
| Modifier and Type | Class and Description |
|---|---|
static class |
PhysicalDimensionsService.Unit |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT |
static String |
PROFILE |
| Constructor and Description |
|---|
PhysicalDimensionsService(double physicalScale,
PhysicalDimensionsService.Unit units) |
PhysicalDimensionsService(String identifier,
double physicalScale,
PhysicalDimensionsService.Unit units) |
| Modifier and Type | Method and Description |
|---|---|
double |
getPhysicalScale() |
PhysicalDimensionsService.Unit |
getPhysicalUnits() |
addProfile, addProfile, getContext, getIdentifier, getLabel, getLabelString, getProfiles, setContext, setIdentifier, setLabel, setLabel, setProfilespublic static final String CONTEXT
public static final String PROFILE
public PhysicalDimensionsService(double physicalScale,
PhysicalDimensionsService.Unit units)
public PhysicalDimensionsService(String identifier, double physicalScale, PhysicalDimensionsService.Unit units)
public double getPhysicalScale()
public PhysicalDimensionsService.Unit getPhysicalUnits()
Copyright © 2018. All rights reserved.