Package com.rometools.modules.itunes
Class FeedInformationImpl
- java.lang.Object
-
- com.rometools.modules.itunes.AbstractITunesObject
-
- com.rometools.modules.itunes.FeedInformationImpl
-
- All Implemented Interfaces:
FeedInformation,ITunes,CopyFrom,Module,Serializable,Cloneable
public class FeedInformationImpl extends AbstractITunesObject implements FeedInformation
This class contains information for iTunes podcast feeds that exist at the Channel level.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeedInformationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Returns a copy of this FeedInformationImpl objectvoidcopyFrom(CopyFrom obj)Required by the ROME APIList<Category>getCategories()The parent categories for this feedbooleangetComplete()StringgetNewFeedUrl()StringgetOwnerEmailAddress()Returns the owner email address for the feed.StringgetOwnerName()Returns the owner name for the feedStringgetType()Return the type of podcast (either Episodic or Serial) as introduced in the new Apple Podcast spec for iOS 11.voidsetCategories(List<Category> categories)The parent categories for this feedvoidsetComplete(boolean complete)voidsetNewFeedUrl(String newFeedUrl)voidsetOwnerEmailAddress(String ownerEmailAddress)Sets the owner email address for the feed.voidsetOwnerName(String ownerName)Sets the owner name for the feedvoidsetType(String type)Set the type of podcast to either Episodic (original type of podcasts) or Serial (should be consumed from oldest to newest)StringtoString()-
Methods inherited from class com.rometools.modules.itunes.AbstractITunesObject
getAuthor, getBlock, getExplicit, getExplicitNullable, getImage, getInterface, getKeywords, getSubtitle, getSummary, getUri, setAuthor, setBlock, setExplicit, setExplicitNullable, setImage, setKeywords, setSubtitle, setSummary
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
getInterface
-
Methods inherited from interface com.rometools.modules.itunes.ITunes
getAuthor, getBlock, getExplicit, getExplicitNullable, getImage, getKeywords, getSubtitle, getSummary, setAuthor, setBlock, setExplicit, setExplicitNullable, setImage, setKeywords, setSubtitle, setSummary
-
-
-
-
Method Detail
-
getCategories
public List<Category> getCategories()
The parent categories for this feed- Specified by:
getCategoriesin interfaceFeedInformation- Returns:
- The parent categories for this feed
-
setCategories
public void setCategories(List<Category> categories)
The parent categories for this feed- Specified by:
setCategoriesin interfaceFeedInformation- Parameters:
categories- The parent categories for this feed
-
getComplete
public boolean getComplete()
- Specified by:
getCompletein interfaceFeedInformation
-
setComplete
public void setComplete(boolean complete)
- Specified by:
setCompletein interfaceFeedInformation
-
getNewFeedUrl
public String getNewFeedUrl()
- Specified by:
getNewFeedUrlin interfaceFeedInformation
-
setNewFeedUrl
public void setNewFeedUrl(String newFeedUrl)
- Specified by:
setNewFeedUrlin interfaceFeedInformation
-
getOwnerName
public String getOwnerName()
Returns the owner name for the feed- Specified by:
getOwnerNamein interfaceFeedInformation- Returns:
- Returns the owner name for the feed
-
setOwnerName
public void setOwnerName(String ownerName)
Sets the owner name for the feed- Specified by:
setOwnerNamein interfaceFeedInformation- Parameters:
ownerName- Sets the owner name for the feed
-
getOwnerEmailAddress
public String getOwnerEmailAddress()
Returns the owner email address for the feed.- Specified by:
getOwnerEmailAddressin interfaceFeedInformation- Returns:
- Returns the owner email address for the feed.
-
setOwnerEmailAddress
public void setOwnerEmailAddress(String ownerEmailAddress)
Sets the owner email address for the feed.- Specified by:
setOwnerEmailAddressin interfaceFeedInformation- Parameters:
ownerEmailAddress- Sets the owner email address for the feed.
-
setType
public void setType(String type)
Set the type of podcast to either Episodic (original type of podcasts) or Serial (should be consumed from oldest to newest)- Specified by:
setTypein interfaceFeedInformation- Parameters:
type- the type (Either 'serial' or 'episodic')- See Also:
getType() for more details
-
getType
public String getType()
Return the type of podcast (either Episodic or Serial) as introduced in the new Apple Podcast spec for iOS 11. For more information see the new spec by Apple- Specified by:
getTypein interfaceFeedInformation- Returns:
- either 'episodic' (old school podcasts) or 'serial' (should be listened to from oldest to newest)
-
copyFrom
public void copyFrom(CopyFrom obj)
Required by the ROME API
-
clone
public Object clone()
Returns a copy of this FeedInformationImpl object- Specified by:
clonein interfaceModule- Specified by:
clonein classAbstractITunesObject- Returns:
- Returns a copy of this FeedInformationImpl object
-
toString
public String toString()
- Overrides:
toStringin classAbstractITunesObject
-
-