com.notuvy.podcast
Class PodcastChannel
java.lang.Object
com.notuvy.xml.SimpleJdom
com.notuvy.podcast.PodcastBase
com.notuvy.podcast.PodcastChannel
public class PodcastChannel
- extends PodcastBase
The RSS/channel object and the container of the PodcastItem objects.
- Author:
- murali
Methods inherited from class com.notuvy.xml.SimpleJdom |
addChildElement, createFormat, createRoot, getChildInteger, getChildLong, getChildren, getChildrenOfContainer, getChildText, getFormat, getStorage, isValidRoot, readFrom, readFrom, readFromContent, reportXmlParseError, saveTo, setStorage, toDocument, toXmlString |
XML_Node_rss
public static final String XML_Node_rss
- See Also:
- Constant Field Values
PodcastChannel
protected PodcastChannel()
PodcastChannel
public PodcastChannel(String pTitle,
String pLink,
String pDesc)
getItems
public List<PodcastItem> getItems()
addPodcastItem
public PodcastItem addPodcastItem(String pTitle,
String pLink,
String pDesc,
String pDuration,
String pDate,
String pGuid,
String pEnclosureUrl,
String pEnclosureLength)
rootName
public String rootName()
- Overrides:
rootName
in class SimpleJdom
toXml
public org.jdom.Element toXml()
- Description copied from class:
SimpleJdom
- Return this object as a sub-element to be inserted within another object.
This does NOT return a Document representation.
- Specified by:
toXml
in class SimpleJdom
- Returns:
- Element representation suitable for insertion into another object.
parse
protected void parse(org.jdom.Element pRoot)
- Specified by:
parse
in class SimpleJdom
toString
public String toString()
- Overrides:
toString
in class SimpleJdom
Copyright © 2013. All Rights Reserved.