Publication

constructor(manifest: Manifest, container: Container<Resource> = EmptyContainer(), servicesBuilder: Publication.ServicesBuilder = ServicesBuilder())

Parameters

manifest

The manifest holding the publication metadata extracted from the publication file.

container

The underlying container used to read publication resources. The default implementation returns Resource.Exception.NotFound for all HREFs.

servicesBuilder

Holds the list of service factories used to create the instances of Publication.Service attached to this Publication.