public class Layer extends Resource implements PageContainer<AnnotationList>
An ordered list of annotation lists.
Layers allow higher level groupings of annotations to be recorded. For example, all of the English translation annotations of a medieval French document could be kept separate from the transcription or an edition in modern French.
| Constructor and Description |
|---|
Layer() |
Layer(String identifier) |
Layer(String identifier,
String label) |
| Modifier and Type | Method and Description |
|---|---|
Layer |
addOtherContent(AnnotationList first,
AnnotationList... rest) |
Layer |
addOtherContent(String first,
String... rest) |
AnnotationList |
getFirst() |
AnnotationList |
getLast() |
List<AnnotationList> |
getOtherContent() |
Integer |
getTotal() |
String |
getType() |
ViewingDirection |
getViewingDirection() |
void |
setFirst(AnnotationList first) |
void |
setLast(AnnotationList last) |
void |
setOtherContent(List<AnnotationList> otherContent) |
void |
setTotal(int total) |
void |
setViewingDirection(ViewingDirection viewingDirection) |
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
public Layer(String identifier)
public Layer()
public ViewingDirection getViewingDirection()
public void setViewingDirection(ViewingDirection viewingDirection)
public List<AnnotationList> getOtherContent()
public void setOtherContent(List<AnnotationList> otherContent)
public Layer addOtherContent(AnnotationList first, AnnotationList... rest)
public AnnotationList getFirst()
getFirst in interface PageContainer<AnnotationList>public void setFirst(AnnotationList first)
setFirst in interface PageContainer<AnnotationList>public AnnotationList getLast()
getLast in interface PageContainer<AnnotationList>public void setLast(AnnotationList last)
setLast in interface PageContainer<AnnotationList>public Integer getTotal()
getTotal in interface PageContainer<AnnotationList>public void setTotal(int total)
setTotal in interface PageContainer<AnnotationList>Copyright © 2018. All rights reserved.