public class Annotation extends Resource
An OpenAnnotation Annotation.
Content resources and commentary are associated with a canvas via an annotation. This provides a single, coherent method for aligning information, and provides a standards based framework for distinguishing parts of resources and parts of canvases. As annotations can be added later, it promotes a distributed system in which publishers can align their content with the descriptions created by others.
| Constructor and Description |
|---|
Annotation(Motivation motivation) |
Annotation(String identifier) |
Annotation(String identifier,
Motivation motivation) |
| Modifier and Type | Method and Description |
|---|---|
Motivation |
getMotivation() |
Resource |
getOn() |
Resource |
getResource() |
CssStyle |
getStylesheet() |
String |
getType() |
void |
setOn(Resource on) |
void |
setResource(Resource resource) |
void |
setStylesheet(CssStyle stylesheet) |
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 Annotation(Motivation motivation)
public Annotation(String identifier)
public Annotation(String identifier, Motivation motivation)
public Resource getResource()
public void setResource(Resource resource)
public Motivation getMotivation()
public Resource getOn()
public void setOn(Resource on)
public CssStyle getStylesheet()
public void setStylesheet(CssStyle stylesheet)
Copyright © 2018. All rights reserved.