|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sauronsoftware.feed4j.bean.Feed
public class Feed
This class is used to represent a parsed feed in an object oriented way.
Constructor Summary | |
---|---|
Feed()
|
Method Summary | |
---|---|
void |
addItem(FeedItem item)
This method adds an item to the feed. |
FeedHeader |
getHeader()
This method returns the feed header. |
FeedItem |
getItem(int index)
This method returns a feed item. |
int |
getItemCount()
This method returns the number of the items in the feed. |
void |
setHeader(FeedHeader header)
This method sets the feed header. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Feed()
Method Detail |
---|
public FeedHeader getHeader()
public void setHeader(FeedHeader header)
header
- The feed header.public void addItem(FeedItem item)
item
- The item.public FeedItem getItem(int index) throws java.lang.IndexOutOfBoundsException
index
- The item index.
java.lang.IndexOutOfBoundsException
- Thrown if the index supplied is not valid (index is expected
to be greater or equal to 0 and less than the value returned
by getItemsCount()).public int getItemCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |