Class MediaLocatorImpl

java.lang.Object
org.opencastproject.metadata.mpeg7.MediaLocatorImpl
All Implemented Interfaces:
org.opencastproject.mediapackage.XmlElement, MediaLocator

public class MediaLocatorImpl extends Object implements MediaLocator
TODO: Comment me!
  • Constructor Details

    • MediaLocatorImpl

      public MediaLocatorImpl()
      Creates a new and empty (read: invalid) media locator.
    • MediaLocatorImpl

      public MediaLocatorImpl(URI mediaURI)
      Creates a new media locator with the specified uri.
      Parameters:
      mediaURI - the media uri
  • Method Details

    • getMediaURI

      public URI getMediaURI()
      Description copied from interface: MediaLocator
      Returns the media uri of the track.
      Specified by:
      getMediaURI in interface MediaLocator
      Returns:
      the media uri
      See Also:
    • setMediaURI

      public void setMediaURI(URI mediaURI)
      Sets the media uri.
      Parameters:
      mediaURI - the uri
    • toXml

      public Node toXml(Document document)
      Specified by:
      toXml in interface org.opencastproject.mediapackage.XmlElement
      See Also:
      • XmlElement.toXml(org.w3c.dom.Document)