|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.feed.module.itunes.AbstractITunesObject
public abstract class AbstractITunesObject
This is an abstract object that implements the attributes common across Feeds or Items in an iTunes compatible RSS feed.
Field Summary | |
---|---|
static String |
PREFIX
A default prefix to use for itunes tags. |
static String |
RDF_URI
The RDF namespace URI. |
static String |
URI
The URI that iTunes used for its custom tags. |
Constructor Summary | |
---|---|
AbstractITunesObject()
|
Method Summary | |
---|---|
abstract Object |
clone()
Required by the ROME API |
abstract void |
copyFrom(com.sun.syndication.feed.CopyFrom obj)
Defined by the ROME module API |
String |
getAuthor()
Returns the author string for this feed or entry |
boolean |
getBlock()
Boolean as to whether to block this feed or entry |
boolean |
getExplicit()
Boolean as to whether this feed or entry contains adult content |
Class |
getInterface()
Defined by the ROME API |
String[] |
getKeywords()
A list of keywords for this feed or entry Must not contain spaces |
String |
getSubtitle()
A subtitle for this feed or entry |
String |
getSummary()
A subtitle for this feed or entry |
String |
getUri()
The URI this module implements |
void |
setAuthor(String author)
Sets the author string for this feed or entry |
void |
setBlock(boolean block)
Boolean as to whether to block this feed or entry |
void |
setExplicit(boolean explicit)
Boolean as to whether this feed or entry contains adult content |
void |
setKeywords(String[] keywords)
A list of keywords for this feed or entry Must not contain spaces |
void |
setSubtitle(String subtitle)
A subtitle for this feed or entry |
void |
setSummary(String summary)
A subtitle for this feed or entry |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String URI
What is up with using a versioned DTD anyway?
\
public static final String RDF_URI
public static final String PREFIX
Constructor Detail |
---|
public AbstractITunesObject()
Method Detail |
---|
public abstract void copyFrom(com.sun.syndication.feed.CopyFrom obj)
copyFrom
in interface com.sun.syndication.feed.CopyFrom
obj
- Object to copy frompublic Class getInterface()
getInterface
in interface com.sun.syndication.feed.CopyFrom
public String getUri()
getUri
in interface com.sun.syndication.feed.module.Module
public abstract Object clone()
clone
in interface com.sun.syndication.feed.module.Module
clone
in class Object
public String getAuthor()
getAuthor
in interface ITunes
public void setAuthor(String author)
setAuthor
in interface ITunes
author
- Sets the author string for this feed or entrypublic boolean getBlock()
getBlock
in interface ITunes
public void setBlock(boolean block)
setBlock
in interface ITunes
block
- Boolean as to whether to block this feed or entrypublic boolean getExplicit()
getExplicit
in interface ITunes
public void setExplicit(boolean explicit)
setExplicit
in interface ITunes
explicit
- Boolean as to whether this feed or entry contains adult contentpublic String[] getKeywords()
getKeywords
in interface ITunes
public void setKeywords(String[] keywords)
setKeywords
in interface ITunes
keywords
- A list of keywords for this feed or entypublic String getSubtitle()
getSubtitle
in interface ITunes
public void setSubtitle(String subtitle)
setSubtitle
in interface ITunes
subtitle
- A subtitle for this feed or entrypublic String getSummary()
getSummary
in interface ITunes
public void setSummary(String summary)
setSummary
in interface ITunes
summary
- A subtitle for this feed or entrypublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |