Class RSSChannelImpl
- java.lang.Object
-
- com.biglybt.pifimpl.local.utils.xml.rss.RSSChannelImpl
-
- All Implemented Interfaces:
RSSChannel
public class RSSChannelImpl extends java.lang.Object implements RSSChannel
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RSSChannelImpl(SimpleXMLParserDocumentNode _node, boolean _is_atom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the mandatory descriptionRSSItem[]
getItems()
returns the items in the channeljava.net.URL
getLink()
Returns the mandatory linkprotected java.lang.String
getLinkRaw()
SimpleXMLParserDocumentNode
getNode()
returns the underlying XML node for extraction of extensionsjava.util.Date
getPublicationDate()
Returns the *optional* publication datejava.lang.String
getTitle()
Returns the mandatory titleprotected boolean
isHTTPS()
-
-
-
Field Detail
-
node
private final SimpleXMLParserDocumentNode node
-
items
private final RSSItem[] items
-
is_atom
private final boolean is_atom
-
is_https
private final boolean is_https
-
-
Constructor Detail
-
RSSChannelImpl
protected RSSChannelImpl(SimpleXMLParserDocumentNode _node, boolean _is_atom)
-
-
Method Detail
-
isHTTPS
protected boolean isHTTPS()
-
getTitle
public java.lang.String getTitle()
Description copied from interface:RSSChannel
Returns the mandatory title- Specified by:
getTitle
in interfaceRSSChannel
- Returns:
-
getDescription
public java.lang.String getDescription()
Description copied from interface:RSSChannel
Returns the mandatory description- Specified by:
getDescription
in interfaceRSSChannel
- Returns:
-
getLink
public java.net.URL getLink()
Description copied from interface:RSSChannel
Returns the mandatory link- Specified by:
getLink
in interfaceRSSChannel
- Returns:
-
getLinkRaw
protected java.lang.String getLinkRaw()
-
getPublicationDate
public java.util.Date getPublicationDate()
Description copied from interface:RSSChannel
Returns the *optional* publication date- Specified by:
getPublicationDate
in interfaceRSSChannel
- Returns:
-
getItems
public RSSItem[] getItems()
Description copied from interface:RSSChannel
returns the items in the channel- Specified by:
getItems
in interfaceRSSChannel
- Returns:
-
getNode
public SimpleXMLParserDocumentNode getNode()
Description copied from interface:RSSChannel
returns the underlying XML node for extraction of extensions- Specified by:
getNode
in interfaceRSSChannel
- Returns:
-
-