Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Collection

Hierarchy

Index

Constructors

constructor

Properties

__jsonld

__jsonld: any

Private _collections

_collections: Collection[] | null = null

Private _manifests

_manifests: Manifest[] | null = null

context

context: string

defaultTree

defaultTree: TreeNode

externalResource

externalResource: IExternalResource

id

id: string

index

index: number = -1

isLoaded

isLoaded: boolean = false

items

items: IIIFResource[] = []

options

parentCollection

parentCollection: Collection

parentLabel

parentLabel: string

Methods

Private _parseCollections

  • _parseCollections(parentCollection: Collection): void

Private _parseManifests

  • _parseManifests(parentCollection: Collection): void

getAttribution

getCollectionByIndex

  • getCollectionByIndex(collectionIndex: number): Promise<Collection>

getCollections

getDefaultLabel

  • getDefaultLabel(): string | null

getDefaultTree

getDescription

getIIIFResourceType

  • getIIIFResourceType(): IIIFResourceType

getLabel

getLicense

  • getLicense(): string | null

getLogo

  • getLogo(): string | null

getManifestByIndex

  • getManifestByIndex(manifestIndex: number): Promise<Manifest>

getManifests

getMetadata

getNavDate

  • getNavDate(): Date

getProperty

  • getProperty(name: string): any

getRelated

  • getRelated(): any

getRendering

  • getRendering(format: RenderingFormat): Rendering | null

getRenderings

getRequiredStatement

getSeeAlso

  • getSeeAlso(): any

getService

  • getService(profile: ServiceProfile): Service | null

getServices

getThumbnail

getTotalCollections

  • getTotalCollections(): number

getTotalItems

  • getTotalItems(): number

getTotalManifests

  • getTotalManifests(): number

getViewingDirection

  • getViewingDirection(): ViewingDirection

isAnnotation

  • isAnnotation(): boolean

isCanvas

  • isCanvas(): boolean

isCollection

  • isCollection(): boolean

isManifest

  • isManifest(): boolean

isRange

  • isRange(): boolean

isSequence

  • isSequence(): boolean

load

Generated using TypeDoc