it.sauronsoftware.feed4j.bean
Class FeedHeader

java.lang.Object
  extended by it.sauronsoftware.feed4j.bean.RawElement
      extended by it.sauronsoftware.feed4j.bean.FeedHeader
All Implemented Interfaces:
RawNode

public class FeedHeader
extends RawElement

This class is used to represent the feed header informations.

Author:
Carlo Pelliccia

Constructor Summary
FeedHeader()
           
 
Method Summary
 java.lang.String getDescription()
          This method returns the feed description.
 FeedImage getImage()
          This method return the feed image object representation.
 java.lang.String getLanguage()
          This method returns the feed language code.
 java.net.URL getLink()
          This method returns the link in the feed, usually it links a feed-related web page.
 java.util.Date getPubDate()
          This method returns the feed publication date.
 java.lang.String getTitle()
          This method return the feed title.
 java.net.URL getURL()
          This method returns the feed URL.
 void setDescription(java.lang.String description)
          This method sets the feed description.
 void setImage(FeedImage image)
          This method sets the feed image.
 void setLanguage(java.lang.String language)
          This method sets the feed language code.
 void setLink(java.net.URL link)
          This method sets the link in the feed.
 void setPubDate(java.util.Date pubDate)
          This method sets the feed publication date.
 void setTitle(java.lang.String title)
          This method sets the feed title.
 void setURL(java.net.URL url)
          This method sets the feed URL.
 
Methods inherited from class it.sauronsoftware.feed4j.bean.RawElement
addAttribute, addNode, getAttribute, getAttributeCount, getAttributeValue, getElement, getElements, getElementValue, getName, getNamespaceURI, getNode, getNodeCount, getValue, removeNode, setName, setNamespaceURI, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedHeader

public FeedHeader()
Method Detail

getDescription

public java.lang.String getDescription()
This method returns the feed description. It could be null.

Returns:
The feed description (it could be null).

setDescription

public void setDescription(java.lang.String description)
This method sets the feed description.

Parameters:
description - The feed description.

getLink

public java.net.URL getLink()
This method returns the link in the feed, usually it links a feed-related web page. It could be null.

Returns:
The link in the feed (it could be null).

setLink

public void setLink(java.net.URL link)
This method sets the link in the feed.

Parameters:
link - The link in the feed.

getTitle

public java.lang.String getTitle()
This method return the feed title. It could be null.

Returns:
The feed title (it could be null).

setTitle

public void setTitle(java.lang.String title)
This method sets the feed title.

Parameters:
title - The feed title.

getLanguage

public java.lang.String getLanguage()
This method returns the feed language code. It could be null.

Returns:
The feed language code (it could be null).

setLanguage

public void setLanguage(java.lang.String language)
This method sets the feed language code.

Parameters:
language - The feed language code.

getPubDate

public java.util.Date getPubDate()
This method returns the feed publication date. It could be null.

Returns:
The feed publication date (it could be null).

setPubDate

public void setPubDate(java.util.Date pubDate)
This method sets the feed publication date.

Parameters:
pubDate - The feed publication date.

getImage

public FeedImage getImage()
This method return the feed image object representation. It could be null.

Returns:
The feed image (it could be null).

setImage

public void setImage(FeedImage image)
This method sets the feed image.

Parameters:
image - The feed image.

getURL

public java.net.URL getURL()
This method returns the feed URL.

Returns:
The feed URL.

setURL

public void setURL(java.net.URL url)
This method sets the feed URL.

Parameters:
url - he feed URL.