com.notuvy.podcast
Class PodcastItem

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

public class PodcastItem
extends PodcastBase

A single podcast. One of potentially several items in a channel.

Author:
murali

Field Summary
static String XML_Node_item
           
 
Fields inherited from class com.notuvy.podcast.PodcastBase
gNsItunes, LOG
 
Constructor Summary
protected PodcastItem(String pTitle, String pLink, String pDesc, String pDuration, String pDate, String pGuid, String pEnclosureUrl, String pEnclosureLength)
           
 
Method Summary
 String getDate()
           
 String getDuration()
           
 String getEnclosureLength()
           
 String getEnclosureUrl()
           
 String getGuid()
           
 String getSummary()
           
 boolean isValid()
           
protected  void parse(org.jdom.Element pRoot)
           
 String rootName()
           
 PodcastItem setSummary(String pSummary)
           
 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_item

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

PodcastItem

protected PodcastItem(String pTitle,
                      String pLink,
                      String pDesc,
                      String pDuration,
                      String pDate,
                      String pGuid,
                      String pEnclosureUrl,
                      String pEnclosureLength)
Method Detail

getDuration

public String getDuration()

getDate

public String getDate()

getGuid

public String getGuid()

getEnclosureUrl

public String getEnclosureUrl()

getEnclosureLength

public String getEnclosureLength()

isValid

public boolean isValid()

getSummary

public String getSummary()

setSummary

public PodcastItem setSummary(String pSummary)

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.