|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonettic.mrss.elements.MRSSItem
public class MRSSItem
Class representing item node of the Sonettic playlist MRSS feed.
| Constructor Summary | |
|---|---|
MRSSItem(java.lang.String id,
java.lang.String url)
Public constructor |
|
| Method Summary | |
|---|---|
void |
addContent(MRSSMediaContent content)
Add media content to this item. |
void |
addContents(java.util.Collection<MRSSMediaContent> contents)
Appends all of the media contents in the collection to this item. |
void |
addNode(MRSSNode node)
Adding any optional node (like "keywords", "description" etc.) that don't represented by class to current item. |
protected org.dom4j.Element |
build(org.dom4j.Element element)
|
MRSSAds |
getAds()
Getter for ads node of this item. |
java.util.List<MRSSMediaContent> |
getContents()
Get media contents of this item. |
java.lang.String |
getId()
Getter for unique id. |
java.util.List<MRSSNode> |
getNodes()
Get MRSSNodes of this channel. |
MRSSPoster |
getPoster()
Getter for poster node of this item. |
void |
setAds(MRSSAds ads)
Setter for ads node of this item. |
void |
setId(java.lang.String id)
Set unique id. |
void |
setPoster(MRSSPoster poster)
Setter for poster node of this item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MRSSItem(java.lang.String id,
java.lang.String url)
id - unique idurl - url of first MRSSMediaContent object.| Method Detail |
|---|
public java.util.List<MRSSNode> getNodes()
public void addNode(MRSSNode node)
node - new nodepublic java.util.List<MRSSMediaContent> getContents()
public void addContents(java.util.Collection<MRSSMediaContent> contents)
contents - collection of contents.public void addContent(MRSSMediaContent content)
content - media contentpublic void setId(java.lang.String id)
id - unique id.public java.lang.String getId()
public MRSSAds getAds()
public void setAds(MRSSAds ads)
ads - MRSSAds object.public MRSSPoster getPoster()
public void setPoster(MRSSPoster poster)
poster - MRSSPoster object.protected org.dom4j.Element build(org.dom4j.Element element)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||