com.notuvy.podcast
Class PodcastChannel

java.lang.Object
  extended by com.notuvy.xml.SimpleJdom
      extended by com.notuvy.podcast.PodcastBase
          extended by com.notuvy.podcast.PodcastChannel

public class PodcastChannel
extends PodcastBase

The RSS/channel object and the container of the PodcastItem objects.

Author:
murali

Field Summary
static String XML_Node_rss
           
 
Fields inherited from class com.notuvy.podcast.PodcastBase
gNsItunes, LOG
 
Constructor Summary
protected PodcastChannel()
           
  PodcastChannel(String pTitle, String pLink, String pDesc)
           
 
Method Summary
 PodcastItem addPodcastItem(String pTitle, String pLink, String pDesc, String pDuration, String pDate, String pGuid, String pEnclosureUrl, String pEnclosureLength)
           
 List<PodcastItem> getItems()
           
protected  void parse(org.jdom.Element pRoot)
           
 String rootName()
           
 String toString()
           
 org.jdom.Element toXml()
          Return this object as a sub-element to be inserted within another object.
 
Methods inherited from class com.notuvy.podcast.PodcastBase
getDescription, getSiteUrl, getTextFromElement, getTitle, setDescription, setSiteUrl, setTitle
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_Node_rss

public static final String XML_Node_rss
See Also:
Constant Field Values
Constructor Detail

PodcastChannel

protected PodcastChannel()

PodcastChannel

public PodcastChannel(String pTitle,
                      String pLink,
                      String pDesc)
Method Detail

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.