- 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 Object
clone()
Returns a copy of this FeedInformationImpl objectvoid
copyFrom(CopyFrom obj)
Required by the ROME APIList<Category>
getCategories()
The parent categories for this feedboolean
getComplete()
String
getNewFeedUrl()
String
getOwnerEmailAddress()
Returns the owner email address for the feed.String
getOwnerName()
Returns the owner name for the feedString
getType()
Return the type of podcast (either Episodic or Serial) as introduced in the new Apple Podcast spec for iOS 11.void
setCategories(List<Category> categories)
The parent categories for this feedvoid
setComplete(boolean complete)
void
setNewFeedUrl(String newFeedUrl)
void
setOwnerEmailAddress(String ownerEmailAddress)
Sets the owner email address for the feed.void
setOwnerName(String ownerName)
Sets the owner name for the feedvoid
setType(String type)
Set the type of podcast to either Episodic (original type of podcasts) or Serial (should be consumed from oldest to newest)String
toString()
-
Methods inherited from class com.rometools.modules.itunes.AbstractITunesObject
getAuthor, getBlock, getExplicit, getExplicitNullable, getImage, getImageUri, getInterface, getKeywords, getSubtitle, getSummary, getUri, setAuthor, setBlock, setExplicit, setExplicitNullable, setImage, setImageUri, 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, getImageUri, getKeywords, getSubtitle, getSummary, setAuthor, setBlock, setExplicit, setExplicitNullable, setImage, setImageUri, setKeywords, setSubtitle, setSummary
-
-
-
-
Method Detail
-
getCategories
public List<Category> getCategories()
The parent categories for this feed- Specified by:
getCategories
in interfaceFeedInformation
- Returns:
- The parent categories for this feed
-
setCategories
public void setCategories(List<Category> categories)
The parent categories for this feed- Specified by:
setCategories
in interfaceFeedInformation
- Parameters:
categories
- The parent categories for this feed
-
getComplete
public boolean getComplete()
- Specified by:
getComplete
in interfaceFeedInformation
-
setComplete
public void setComplete(boolean complete)
- Specified by:
setComplete
in interfaceFeedInformation
-
getNewFeedUrl
public String getNewFeedUrl()
- Specified by:
getNewFeedUrl
in interfaceFeedInformation
-
setNewFeedUrl
public void setNewFeedUrl(String newFeedUrl)
- Specified by:
setNewFeedUrl
in interfaceFeedInformation
-
getOwnerName
public String getOwnerName()
Returns the owner name for the feed- Specified by:
getOwnerName
in interfaceFeedInformation
- Returns:
- Returns the owner name for the feed
-
setOwnerName
public void setOwnerName(String ownerName)
Sets the owner name for the feed- Specified by:
setOwnerName
in interfaceFeedInformation
- Parameters:
ownerName
- Sets the owner name for the feed
-
getOwnerEmailAddress
public String getOwnerEmailAddress()
Returns the owner email address for the feed.- Specified by:
getOwnerEmailAddress
in 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:
setOwnerEmailAddress
in 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:
setType
in 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:
getType
in 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:
clone
in interfaceModule
- Specified by:
clone
in classAbstractITunesObject
- Returns:
- Returns a copy of this FeedInformationImpl object
-
toString
public String toString()
- Overrides:
toString
in classAbstractITunesObject
-
-