Class MediaLocatorImpl
java.lang.Object
org.opencastproject.metadata.mpeg7.MediaLocatorImpl
- All Implemented Interfaces:
XmlElement,MediaLocator
TODO: Comment me!
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new and empty (read: invalid) media locator.MediaLocatorImpl(URI mediaURI) Creates a new media locator with the specified uri. -
Method Summary
Modifier and TypeMethodDescriptionReturns the media uri of the track.voidsetMediaURI(URI mediaURI) Sets the media uri.Returns an xml node representation of this element.
-
Constructor Details
-
MediaLocatorImpl
public MediaLocatorImpl()Creates a new and empty (read: invalid) media locator. -
MediaLocatorImpl
Creates a new media locator with the specified uri.- Parameters:
mediaURI- the media uri
-
-
Method Details
-
getMediaURI
Description copied from interface:MediaLocatorReturns the media uri of the track.- Specified by:
getMediaURIin interfaceMediaLocator- Returns:
- the media uri
- See Also:
-
setMediaURI
Sets the media uri.- Parameters:
mediaURI- the uri
-
toXml
Description copied from interface:XmlElementReturns an xml node representation of this element.- Specified by:
toXmlin interfaceXmlElement- Parameters:
document- the enclosing xml document- Returns:
- the xml node
- See Also:
-