Manifest
data class Manifest(val context: List<String> = emptyList(), val metadata: Metadata, val links: List<Link> = emptyList(), val readingOrder: List<Link> = emptyList(), val resources: List<Link> = emptyList(), val tableOfContents: List<Link> = emptyList(), val subcollections: Map<String, List<PublicationCollection>> = emptyMap()) : JSONable
Holds the metadata of a Readium publication, as described in the Readium Web Publication Manifest.
Functions
Link copied to clipboard
Returns whether this manifest conforms to the given Readium Web Publication Profile.
Link copied to clipboard
Creates a copy of the receiver Manifest, applying the given transformer to each component.
Link copied to clipboard
Link copied to clipboard
Finds the first Link with the given HREF in the manifest's links.
Link copied to clipboard
Finds the first Link with the given relation in the manifest's links.
Link copied to clipboard
Link copied to clipboard
Returns a copy of the receiver after normalizing its HREFs to the given baseUrl.
Link copied to clipboard
Returns a copy of the receiver after normalizing its HREFs to the link with rel="self".
Link copied to clipboard
Serializes a Publication to its RWPM JSON representation.