| java.lang.Object org.gnu.stealthp.rsslib.RSSObject
All known Subclasses: org.gnu.stealthp.rsslib.RSSTextInput, org.gnu.stealthp.rsslib.RSSImage, org.gnu.stealthp.rsslib.RSSItem, org.gnu.stealthp.rsslib.RSSChannel,
RSSObject | abstract public class RSSObject (Code) | | Handler for all common informations about rss elements.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
since: RSSLIB4J 0.1 author: Francesco aka 'Stealthp' stealthp[@]stealthp.org version: 0.2 |
RSSObject | public RSSObject()(Code) | | |
addDoublinCoreElement | public void addDoublinCoreElement(String tag, String data)(Code) | | Add a doublin core element to the object
Parameters: tag - The dc tag Parameters: data - the dc value |
getAboutAttribute | public String getAboutAttribute()(Code) | | Get about attribute of element
The attribute value |
getDescription | public String getDescription()(Code) | | Get the element's description
the descricption |
getDoublinCoreElements | public Hashtable getDoublinCoreElements()(Code) | | Get DC element by hashtable
the hashtable with key as tag and value as tag's value |
getLink | public String getLink()(Code) | | Get the element's link
the link |
getPubDate | public String getPubDate()(Code) | | Get the publication date of the channel or of an item
The publication date for the content in the channel |
getRSSDoublinCoreModule | public RSSDoublinCoreModule getRSSDoublinCoreModule()(Code) | | Get the Roubin Core object from the RSS object
The object or null |
getTitle | public String getTitle()(Code) | | Get the element's title
the title |
setAboutAttribute | public void setAboutAttribute(String ab)(Code) | | Set about attribute of the element (if have)
Parameters: ab - The about content |
setDescription | public void setDescription(String des)(Code) | | Set the descriprion of the element
Parameters: des - The description |
setLink | public void setLink(String l)(Code) | | Set the link of the resource
Parameters: l - The link |
setPubDate | public void setPubDate(String pubDate)(Code) | | The publication date for the content in the channel or in the items
Parameters: pubDate - The date |
setTitle | public void setTitle(String t)(Code) | | Set the element title
Parameters: t - The title |
toString | abstract public String toString()(Code) | | Each class have to implement this information method
An information about element |
|
|