Uses of Interface
org.opencastproject.mediapackage.MediaPackageElement
Packages that use MediaPackageElement
Package
Description
Service implementation classes
Utility classes for dealing with media packages, collections, URLs, files, and streams.
-
Uses of MediaPackageElement in org.opencastproject.mediapackage
Classes in org.opencastproject.mediapackage with type parameters of type MediaPackageElementModifier and TypeInterfaceDescriptioninterfaceMediaPackageElementSelector<T extends MediaPackageElement>AMedikaPackageElementSelectoris the way to set up rules for extracting elements from a media package dependent on their flavor.Subinterfaces of MediaPackageElement in org.opencastproject.mediapackageModifier and TypeInterfaceDescriptioninterfaceHLS-VOD This interface describes methods and fields for an adaptive manifest playlist. as defined in https://tools.ietf.org/html/draft-pantos-http-live-streaming-20 This is text file which references media tracks or playlists in the same mediapackage using relative path names (usual) or absolute URI.interfaceThis interface describes methods and fields for attachments as part of a media package.interfaceGeneral definition for metadata catalogs.interfaceThe presentation element describes where a media package can be consumed.interfaceThis interface describes methods and fields for audio and video tracks as part of a media package.Classes in org.opencastproject.mediapackage that implement MediaPackageElementModifier and TypeClassDescriptionclassThis class provides base functionality for media package elements.classThis is a basic implementation for handling simple catalogs of metadata.classclassThis is a basic implementation for handling simple catalogs of metadata.Fields in org.opencastproject.mediapackage with type parameters of type MediaPackageElementModifier and TypeFieldDescriptionstatic final Function<MediaPackageElement, List<Attachment>> MediaPackageSupport.Filters.attachmentsstatic final Function<MediaPackageElement, List<Catalog>> MediaPackageSupport.Filters.catalogsstatic final Function<MediaPackageElement, String> MediaPackageSupport.getMediaPackageElementIdstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.hasChecksumstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.hasNoChecksumstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isEpisodeDublinCorestatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isNotPublicationstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isPublicationstatic final Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.isSmilCatalogstatic final Function<MediaPackageElementFlavor, Function<MediaPackageElement, Boolean>> MediaPackageSupport.Filters.matchesFlavorstatic final Function<MediaPackageElement, List<Publication>> MediaPackageSupport.Filters.presentationsstatic final Function<MediaPackageElement, List<Track>> MediaPackageSupport.Filters.tracksMethods in org.opencastproject.mediapackage with type parameters of type MediaPackageElementModifier and TypeMethodDescriptionstatic <A extends MediaPackageElement>
Function<MediaPackageElement, List<A>> static <A extends MediaPackageElement>
Function<A, String> MediaPackageElementParser.getAsXml()static <A extends MediaPackageElement>
Function<MediaPackageElement, Boolean> Methods in org.opencastproject.mediapackage that return MediaPackageElementModifier and TypeMethodDescriptionAdds an arbitraryURIto this media package, utilizing aMediaPackageBuilderto create a suitable media package element out of the url.MediaPackage.add(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Adds an arbitraryURIto this media package, utilizing aMediaPackageBuilderto create a suitable media package element out of the url.Adds an arbitraryURIto this media package, utilizing aMediaPackageBuilderto create a suitable media package element out of the url.MediaPackageImpl.add(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) MediaPackageElementBuilder.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) Creates a media package element from the DOM element.MediaPackageElementBuilderImpl.elementFromManifest(Node node, MediaPackageSerializer serializer) MediaPackageElementBuilder.elementFromURI(URI uri) Creates a media package element from the given file that was previously accepted.MediaPackageElementBuilder.elementFromURI(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Creates a media package element from the given file that was previously accepted, whiletypeandflavormay be taken as strong hints and may both benull.MediaPackageElementBuilderImpl.elementFromURI(URI uri) MediaPackageElementBuilderImpl.elementFromURI(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) MediaPackage.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.MediaPackageImpl.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.UnsupportedElementException.getElement()Returns the element.MediaPackage.getElementById(String id) Returns the element that is identified by the given identifier ornullif no such element exists.MediaPackageImpl.getElementById(String id) MediaPackage.getElementByReference(MediaPackageReference reference) Returns the element that is identified by the given reference ornullif no such element exists.MediaPackageImpl.getElementByReference(MediaPackageReference reference) Returns the element that is identified by the given reference ornullif no such element exists.MediaPackage.getElements()Returns all the elements.MediaPackageImpl.getElements()Returns all the elements.MediaPackage.getElementsByFlavor(MediaPackageElementFlavor flavor) Returns all elements of this media package with the given flavor.MediaPackageImpl.getElementsByFlavor(MediaPackageElementFlavor flavor) Returns all elements of this media package with the given flavor.MediaPackage.getElementsByTags(Collection<String> tags) Returns the elements that are tagged with any of the given tags or an empty array if no such elements are found.MediaPackageImpl.getElementsByTags(Collection<String> tags) Returns the elements that are tagged with any of the given tags or an empty array if no such elements are found.static MediaPackageElementMediaPackageElementParser.getFromXml(String xml) Parses the serialized media package element and returns its object representation.MediaPackage.getUnclassifiedElements()Returns media package elements that are neither, attachments, catalogs nor tracks.MediaPackageImpl.getUnclassifiedElements()Returns media package elements that are neither, attachments, catalogs nor tracks.MediaPackageElementBuilder.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Creates a new media package elment of the specified type.MediaPackageElementBuilderImpl.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) MediaPackage.removeElementById(String id) Removes the element with the given identifier from the mediapackage and returns it.MediaPackageImpl.removeElementById(String id) Removes the element with the given identifier from the mediapackage and returns it.Methods in org.opencastproject.mediapackage that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionMediaPackageSupport.Filters.byFlavor(MediaPackageElementFlavor flavor) MediaPackageSupport.Filters.byFlavor(MediaPackageElementFlavor flavor) static <A extends MediaPackageElement>
Function<MediaPackageElement, List<A>> MediaPackage.elements()Returns an iteration of the media package elements.MediaPackageImpl.elements()Returns an iteration of the media package elements.static List<? extends MediaPackageElement> MediaPackageElementParser.getArrayFromXml(String xml) Parses the serialized media package element list.static List<? extends MediaPackageElement> MediaPackageElementParser.getArrayFromXmlUnchecked(String xml) Same as getArrayFromXml(), but throwing a RuntimeException instead of a checked exception.static Function<MediaPackageElement, Boolean> Check if mediapackage element has any of the given tags.static Function<MediaPackageElement, Boolean> MediaPackageSupport.Filters.matchesFlavor(MediaPackageElementFlavor flavor) Return true if the element has a flavor that matchesflavor.static <A extends MediaPackageElement>
Function<MediaPackageElement, Boolean> static Effect<MediaPackageElement> MediaPackageSupport.updateElement(MediaPackage mp) Methods in org.opencastproject.mediapackage with parameters of type MediaPackageElementModifier and TypeMethodDescriptionvoidMediaPackage.add(MediaPackageElement element) Adds an arbitraryMediaPackageElementto this media package.voidMediaPackageImpl.add(MediaPackageElement element) Adds an arbitraryMediaPackageElementto this media package.voidMediaPackage.addDerived(MediaPackageElement derivedElement, MediaPackageElement sourceElement) Adds an element to this media package that represents a derived version ofsourceElement.voidMediaPackageImpl.addDerived(MediaPackageElement derivedElement, MediaPackageElement sourceElement) Adds an element to this media package that represents a derived version ofsourceElement.static voidPublicationImpl.addElementToPublication(Publication publication, MediaPackageElement element) Adds aMediaPackageElementto this publication by determining its type.intAbstractMediaPackageElement.compareTo(MediaPackageElement o) booleanMediaPackage.contains(MediaPackageElement element) Returnstrueif the given element is part of the media package.booleanMediaPackageImpl.contains(MediaPackageElement element) static StringMediaPackageElementParser.getAsXml(MediaPackageElement element) Serializes the media package element to a string.MediaPackage.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.MediaPackageImpl.getDerived(MediaPackageElement sourceElement, MediaPackageElementFlavor derivateFlavor) Returns those media package elements that are derivates ofsourceElementand feature the flavorderivateFlavor.static com.entwinemedia.fn.data.Opt<String> MediaPackageSupport.getFileName(MediaPackageElement mpe) Extract the file name from a media package elements URI.voidAbstractMediaPackageElement.referTo(MediaPackageElement element) voidMediaPackageElement.referTo(MediaPackageElement element) Adds a reference to the media package elementelement.voidMediaPackage.remove(MediaPackageElement element) Removes an arbitrary media package element.voidMediaPackageImpl.remove(MediaPackageElement element) Removes an arbitrary media package element.static voidMediaPackageSupport.updateElement(MediaPackage mp, MediaPackageElement e) Update a mediapackage element of a mediapackage.Method parameters in org.opencastproject.mediapackage with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionstatic StringMediaPackageElementParser.getArrayAsXml(Collection<? extends MediaPackageElement> elements) Serializes media package element list to a string.static booleanAdaptivePlaylist.hasHLSPlaylist(Collection<MediaPackageElement> elements) MediaPackageElementSelector.select(List<MediaPackageElement> elements, boolean withTagsAndFlavors) Returns the media package elements that are matched by this selector.Constructors in org.opencastproject.mediapackage with parameters of type MediaPackageElementModifierConstructorDescriptionMediaPackageReferenceImpl(MediaPackageElement mediaPackageElement) Creates a reference to the specified media package element.UnsupportedElementException(MediaPackageElement element, String message) Creates a new exception for the given element with the given message. -
Uses of MediaPackageElement in org.opencastproject.mediapackage.attachment
Classes in org.opencastproject.mediapackage.attachment that implement MediaPackageElement -
Uses of MediaPackageElement in org.opencastproject.mediapackage.elementbuilder
Methods in org.opencastproject.mediapackage.elementbuilder that return MediaPackageElementModifier and TypeMethodDescriptionAbstractAttachmentBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) CatalogBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) Creates a media package element from the DOM element.MediaPackageElementBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) Deprecated.Creates a media package element from the DOM element.PublicationBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) TrackBuilderPlugin.elementFromManifest(Node elementNode, MediaPackageSerializer serializer) AbstractAttachmentBuilderPlugin.elementFromURI(URI uri) Utility method that returns an attachment object from the given url.AbstractAttachmentBuilderPlugin.elementFromURI(URI uri, MediaPackageElement.Type type, MediaPackageElementFlavor flavor) CatalogBuilderPlugin.elementFromURI(URI uri) MediaPackageElementBuilderPlugin.elementFromURI(URI uri) Deprecated.Creates a media package element from the given url that was previously accepted.PublicationBuilderPlugin.elementFromURI(URI uri) TrackBuilderPlugin.elementFromURI(URI uri) AbstractAttachmentBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) CatalogBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Creates a new media package element of the specified type.MediaPackageElementBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) Deprecated.Creates a new media package element of the specified type.PublicationBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) TrackBuilderPlugin.newElement(MediaPackageElement.Type type, MediaPackageElementFlavor flavor) -
Uses of MediaPackageElement in org.opencastproject.mediapackage.selector
Classes in org.opencastproject.mediapackage.selector with type parameters of type MediaPackageElementModifier and TypeClassDescriptionclassThis selector will return anyMediaPackageElements from aMediaPackagethat matches the tag and flavors.Method parameters in org.opencastproject.mediapackage.selector with type arguments of type MediaPackageElementModifier and TypeMethodDescriptionAbstractMediaPackageElementSelector.select(List<MediaPackageElement> elements, boolean withTagsAndFlavors) -
Uses of MediaPackageElement in org.opencastproject.mediapackage.track
Classes in org.opencastproject.mediapackage.track that implement MediaPackageElementModifier and TypeClassDescriptionclassThis class is the base implementation for a media track, which itself is part of a media package, representing e. g. -
Uses of MediaPackageElement in org.opencastproject.serviceregistry.api
Fields in org.opencastproject.serviceregistry.api with type parameters of type MediaPackageElementModifier and TypeFieldDescriptionstatic final Function<org.apache.http.HttpResponse, Option<List<MediaPackageElement>>> RemoteBase.elementsFromHttpResponse -
Uses of MediaPackageElement in org.opencastproject.util
Methods in org.opencastproject.util that return types with arguments of type MediaPackageElementModifier and TypeMethodDescriptionstatic Function<Job, MediaPackageElement> JobUtil.payloadAsMediaPackageElement(Job waiter, ServiceRegistry reg) Interpret the payload of a completedJobas aMediaPackageElement.static Function<Job, MediaPackageElement> JobUtil.payloadAsMediaPackageElement(ServiceRegistry reg) Interpret the payload of a completedJobas aMediaPackageElement.