Interface MultimediaContent<T extends MultimediaContentType>

All Superinterfaces:
XmlElement
All Known Implementing Classes:
MultimediaContentImpl

public interface MultimediaContent<T extends MultimediaContentType> extends XmlElement
TODO: Comment me!
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Multimedia content type definitions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the content elements that are enclosed in a multimedia content container.
    Returns the content element with the given identifier or null if element does not exist.
    Returns the multimedia content type.
    int
    Returns the number of content elements.

    Methods inherited from interface org.opencastproject.mediapackage.XmlElement

    toXml
  • Method Details

    • getType

      Returns the multimedia content type.
      Returns:
      the type
    • elements

      Iterator<T> elements()
      Returns the content elements that are enclosed in a multimedia content container.
      Returns:
      the multimedia content elements
    • getElementById

      T getElementById(String id)
      Returns the content element with the given identifier or null if element does not exist.
      Parameters:
      id - the element identifier
      Returns:
      the content element
    • size

      int size()
      Returns the number of content elements.
      Returns:
      the number of content elements