org.rometools.feed.module.mediarss
Class MediaModuleImpl

java.lang.Object
  extended by com.sun.syndication.feed.module.ModuleImpl
      extended by org.rometools.feed.module.mediarss.MediaModuleImpl
All Implemented Interfaces:
com.sun.syndication.feed.CopyFrom, com.sun.syndication.feed.module.Module, Serializable, Cloneable, MediaModule
Direct Known Subclasses:
MediaEntryModuleImpl

public class MediaModuleImpl
extends com.sun.syndication.feed.module.ModuleImpl
implements MediaModule, Serializable

This class represents feed/channel level elements for MediaRSS

Author:
cooper
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.rometools.feed.module.mediarss.MediaModule
URI
 
Constructor Summary
MediaModuleImpl()
          Creates a new instance of MediaModuleImpl
MediaModuleImpl(Class clazz, String uri)
          constructor that passes values up to ModuleImpl.
 
Method Summary
 Object clone()
           
 void copyFrom(com.sun.syndication.feed.CopyFrom obj)
           
 Class getInterface()
           
 Metadata getMetadata()
          Metadata for a feed.
 PlayerReference getPlayer()
          Player for a feed.
 String getUri()
           
 void setMetadata(Metadata metadata)
          Metadata for a feed.
 void setPlayer(PlayerReference player)
          Player for a feed.
 
Methods inherited from class com.sun.syndication.feed.module.ModuleImpl
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaModuleImpl

public MediaModuleImpl()
Creates a new instance of MediaModuleImpl


MediaModuleImpl

public MediaModuleImpl(Class clazz,
                       String uri)
constructor that passes values up to ModuleImpl.

Parameters:
clazz -
uri -
Method Detail

getInterface

public Class getInterface()
Specified by:
getInterface in interface com.sun.syndication.feed.CopyFrom

setMetadata

public void setMetadata(Metadata metadata)
Metadata for a feed.

Parameters:
metadata - Metadata for a feed.

getMetadata

public Metadata getMetadata()
Metadata for a feed.

Specified by:
getMetadata in interface MediaModule
Returns:
Metadata for a feed.

setPlayer

public void setPlayer(PlayerReference player)
Player for a feed.

Parameters:
player - Player for a feed.

getPlayer

public PlayerReference getPlayer()
Player for a feed.

Specified by:
getPlayer in interface MediaModule
Returns:
Player for a feed.

getUri

public String getUri()
Specified by:
getUri in interface com.sun.syndication.feed.module.Module
Overrides:
getUri in class com.sun.syndication.feed.module.ModuleImpl

clone

public Object clone()
Specified by:
clone in interface com.sun.syndication.feed.module.Module
Overrides:
clone in class com.sun.syndication.feed.module.ModuleImpl

copyFrom

public void copyFrom(com.sun.syndication.feed.CopyFrom obj)
Specified by:
copyFrom in interface com.sun.syndication.feed.CopyFrom


Copyright © 2013 ROME Project. All Rights Reserved.