Constructs a new instance of the Maniiifest class.
Parses the provided data as a IIIF Manifest or Collection. For annotation types, use the static parse methods instead.
The data to be parsed as a Manifest or Collection.
Retrieves the collection from the manifest specification if it is of kind 'Collection'.
The collection if the specification is of kind 'Collection' and has a value, otherwise null.
Retrieves the context from the manifest specification if it is of kind 'Collection'.
The context if the specification is of kind 'Collection', otherwise null.
Retrieves the collection ID from the manifest specification if it is of kind 'Collection'.
The collection ID if the specification is of kind 'Collection', otherwise null.
Retrieves the collection label from the manifest specification if it is of kind 'Collection'.
The collection label if the specification is of kind 'Collection', otherwise null.
Retrieves the label from the collection specification by language if it is of kind 'Collection'.
The language code to retrieve the label for.
The label for the specified language if it exists, otherwise null.
Retrieves the navigation date from the collection specification if it is of kind 'Collection'.
The navigation date if the specification is of kind 'Collection', otherwise null.
Retrieves the navigation place from the collection specification if it is of kind 'Collection'.
The navigation place if the specification is of kind 'Collection', otherwise null.
Retrieves the required statement from the collection specification if it is of kind 'Collection'.
The required statement if the specification is of kind 'Collection' and has a required statement value, otherwise null.
Retrieves the rights statement from the collection specification if it is of kind 'Collection'.
The rights statement if the specification is of kind 'Collection', otherwise null.
Retrieves the service from the collection specification if it is of kind 'Collection'.
The service if the specification is of kind 'Collection' and has a service value, otherwise null.
Retrieves the summary from the collection specification if it is of kind 'Collection'.
The summary if the specification is of kind 'Collection', otherwise null.
Retrieves the manifest from the manifest specification if it is of kind 'Manifest'.
The manifest if the specification is of kind 'Manifest' and has a value, otherwise null.
Retrieves the context from the manifest specification if it is of kind 'Manifest'.
The context if the specification is of kind 'Manifest', otherwise null.
Retrieves the manifest ID if the specification kind is 'Manifest'.
The manifest ID if the specification kind is 'Manifest', otherwise null.
Retrieves the label from the manifest specification if it is of kind 'Manifest'.
The label if the specification is of kind 'Manifest' and has a label value, otherwise null.
Retrieves the label from the manifest specification by language if it is of kind 'Manifest'.
The language code to retrieve the label for.
The label for the specified language if it exists, otherwise null.
Retrieves the navigation date from the manifest specification if it is of kind 'Manifest'.
The navigation date if the specification is of kind 'Manifest' and has a navDate value, otherwise null.
Retrieves the navigation place from the manifest specification if it is of kind 'Manifest'.
The navigation place if the specification is of kind 'Manifest' and has a navPlace value, otherwise null.
Retrieves the required statement from the manifest specification if it is of kind 'Manifest'.
The required statement if the specification is of kind 'Manifest' and has a required statement value, otherwise null.
Retrieves the rights statement from the manifest specification if it is of kind 'Manifest'.
The rights statement if the specification is of kind 'Manifest' and has a rights value, otherwise null.
Retrieves the service from the manifest specification if it is of kind 'Manifest'.
The service if the specification is of kind 'Manifest' and has a service value, otherwise null.
Retrieves the start element from the manifest specification if it is of kind 'Manifest'.
The start element if the specification is of kind 'Manifest' and has a start value, otherwise null.
Retrieves the summary from the manifest specification if it is of kind 'Manifest'.
The summary if the specification is of kind 'Manifest' and has a summary value, otherwise null.
Retrieves the viewing direction from the manifest specification if it is of kind 'Manifest'.
The viewing direction if the specification is of kind 'Manifest' and has a viewing direction value, otherwise null.
Retrieves the type of the manifest specification.
The type of the manifest specification.
Iterates over the collections and manifests in the specification.
This generator function yields collections from the specification, recursively from nested collections, and manifests found within the collections.
Iterates over the behavior elements in the collection and nested collections.
Iterates over the collections in the specification.
This generator function yields collections from the specification and recursively from nested collections.
Iterates over the homepages in the collection.
This generator function yields homepages from the collection's homepage property and recursively from nested collections.
Iterates over the labels in the collection.
This generator function yields labels from the collection's label and recursively from nested collections.
Iterates over the manifests in the collection.
This generator function yields manifests from the collection's manifest and recursively from nested collections.
Iterates over the metadata in the collection.
This generator function yields metadata from the collection's metadata and recursively from nested collections.
Iterates over the partOf elements in the collection and nested collections.
Iterates over the providers in the collection.
This generator function yields providers from the collection's provider property and recursively from nested collections.
Iterates over the rendering elements in the collection and nested collections.
Iterates over the seeAlso elements in the collection and nested collections.
Iterates over the services in the collection.
This generator function yields services from the collection's service property and recursively from nested collections.
Iterates over the thumbnails in the collection.
This generator function yields thumbnails from the collection's thumbnail and recursively from nested collections.
Iterates over the behavior elements in the manifest.
This generator function yields behavior elements from the manifest.
Iterates over the canvas elements in the manifest.
This generator function yields canvas elements from the manifest.
Iterates over the annotation elements on the canvases in the manifest.
This generator function yields annotation elements from the canvases in the manifest.
Iterates over the annotation page elements on the canvases in the manifest.
This generator function yields annotation page elements from the canvases in the manifest.
Iterates over the behavior elements of canvases in the manifest.
Iterates over the homepage elements of canvases in the manifest.
Iterates over the labels of canvases in the manifest.
Iterates over the metadata elements of canvases in the manifest.
Iterates over the navigation place features in the manifest's canvases.
This generator function yields features from the navigation places within the canvases of the manifest.
Iterates over the provider elements of canvases in the manifest.
Iterates over the rendering elements of canvases in the manifest.
Iterates over the seeAlso elements of canvases in the manifest.
Iterates over the service elements of canvases in the manifest.
Iterates over the thumbnail elements of canvases in the manifest.
Iterates over the W3C annotation elements on the canvases in the manifest.
This generator function yields W3C annotation elements from the canvases in the manifest.
Iterates over the W3C annotation page elements on the canvases in the manifest.
This generator function yields W3C annotation page elements from the canvases in the manifest.
Iterates over the textual bodies of annotations in the manifest's canvases.
Iterates over the homepage elements in the manifest.
This generator function yields homepage elements from the manifest.
Iterates over the metadata elements in the manifest.
This generator function yields metadata elements from the manifest.
Iterates over the navigation place features in the manifest.
This generator function yields features from the navigation places within the manifest.
Iterates over the "partOf" elements in the manifest.
This generator function yields "partOf" elements from the manifest.
Iterates over the providers in the manifest.
This generator function yields providers from the manifest.
Iterates over the "homepage" elements in the providers of the manifest.
This generator function yields "homepage" elements from the providers within the manifest.
Iterates over the "seeAlso" elements in the providers of the manifest.
This generator function yields "seeAlso" elements from the providers within the manifest.
Iterates over the ranges in the manifest.
This generator function yields ranges from the structures within the manifest.
Iterates over the annotations in ranges of the manifest.
Iterates over the range items in the manifest.
This generator function yields range items from the structures within the manifest.
Iterates over the labels of ranges in the manifest.
Iterates over the rendering elements of ranges in the manifest.
Iterates over the thumbnail elements of ranges in the manifest.
Iterates over the "rendering" elements in the manifest.
This generator function yields "rendering" elements from the manifest.
Iterates over the "seeAlso" elements in the manifest.
This generator function yields "seeAlso" elements from the manifest.
Iterates over the services in the manifest.
This generator function yields services from the service pages within the manifest.
Iterates over the services in the manifest.
This generator function yields services from the manifest's service pages.
Iterates over the thumbnail elements in the manifest.
This generator function yields thumbnail elements from the manifest.
Iterates over the services within the thumbnail services in the manifest.
This generator function yields services from the service pages within the thumbnail services of the manifest.
Iterates over the W3C annotations in the manifest.
This generator function yields annotations from the manifest's annotation pages.
Iterates over W3C Annotation Pages in a Manifest.
This generator function iterates through each annotation page present in the manifest's annotations.
It yields each annotation page transformed by F.writeAnnotationPageT for further processing.
Iterates over the textual bodies of annotations in the manifest.
Parses a W3C Annotation.
Parses a W3C Annotation Collection.
Parses a W3C Annotation Page.
Generated using TypeDoc
The
Maniiifestclass provides methods to parse and manipulate IIIF Manifest and Collection resources. For W3C annotation types, use the dedicated parse methods:Maniiifest.parseAnnotation(data)Maniiifest.parseAnnotationPage(data)Maniiifest.parseAnnotationCollection(data)