public class NewsItemFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
currentItem |
private boolean |
hasNext |
(package private) org.w3c.dom.NodeList |
postList |
private int |
totalItems |
Constructor and Description |
---|
NewsItemFactory() |
Modifier and Type | Method and Description |
---|---|
NewsItem |
createNewsItem() |
int |
getCurrentItem() |
int |
getTotalItems() |
boolean |
hasNext() |
void |
setCurrentItem(int currentItem) |
void |
setHasNext(boolean hasNext) |
void |
setTotalItems(int totalItems) |
private boolean hasNext
private int currentItem
private int totalItems
org.w3c.dom.NodeList postList
public NewsItem createNewsItem()
public boolean hasNext()
public int getCurrentItem()
public int getTotalItems()
public void setTotalItems(int totalItems)
public void setCurrentItem(int currentItem)
public void setHasNext(boolean hasNext)