public interface ManifestContributor
| Modifier and Type | Method and Description |
|---|---|
Node |
toManifest(Document document,
MediaPackageSerializer serializer)
This method returns an XML serialization of the object to be stored in the media package manifest.
|
Node toManifest(Document document, MediaPackageSerializer serializer) throws MediaPackageException
For creating MediaPackageElements from a manifest, please use
MediaPackageElementBuilder.elementFromManifest(org.w3c.dom.Node, MediaPackageSerializer). All other objects
shall provide their own implementation specific reconstruction mechanism.
document - the parentserializer - the media package serializerMediaPackageException - if the mediapackage can't be serializedCopyright © 2009–2021 Opencast Project. All rights reserved.